POST api/Order

Request Information

URI Parameters

None.

Body Parameters

clsGenerateScratchcardRequest
NameDescriptionTypeAdditional information
OrderDetailId

integer

None.

CreatedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "OrderDetailId": 1,
  "CreatedBy": 2
}

application/xml, text/xml

Sample:
<clsGenerateScratchcardRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LiveTextBooksModel.Entity">
  <CreatedBy>2</CreatedBy>
  <OrderDetailId>1</OrderDetailId>
</clsGenerateScratchcardRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APIResponse
NameDescriptionTypeAdditional information
ResponseCode

integer

None.

ResponseMessage

string

None.

Id

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": 1,
  "ResponseMessage": "sample string 2",
  "Id": 3
}

application/xml, text/xml

Sample:
<APIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LiveTextBooksModel.Entity">
  <Id>3</Id>
  <ResponseCode>1</ResponseCode>
  <ResponseMessage>sample string 2</ResponseMessage>
</APIResponse>