POST api/QR
Request Information
URI Parameters
None.
Body Parameters
GenerateQR_IDRequestViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| VoucherCode | string |
Required |
|
| LiterOrAmount | decimal number |
Required |
|
| ProductCode | string |
Required |
|
| Agent | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"VoucherCode": "sample string 1",
"LiterOrAmount": 2.1,
"ProductCode": "sample string 3",
"Agent": "sample string 4"
}
application/xml, text/xml
Sample:
<GenerateQR_IDRequestViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MobileAPIs.Models.Request"> <Agent>sample string 4</Agent> <LiterOrAmount>2.1</LiterOrAmount> <ProductCode>sample string 3</ProductCode> <VoucherCode>sample string 1</VoucherCode> </GenerateQR_IDRequestViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.