POST api/RedeemVoucherQR
POST It will pass the QR value from SP , once get the value API need to encrypted for security
Request Information
URI Parameters
None.
Body Parameters
TRedeemVoucherQR| Name | Description | Type | Additional information |
|---|---|---|---|
| Func | string |
None. |
|
| AcctNo | integer |
None. |
|
| VoucherId | string |
None. |
|
| QRcode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Func": "sample string 1",
"AcctNo": 2,
"VoucherId": "sample string 3",
"QRcode": "sample string 4"
}
application/xml, text/xml
Sample:
<SQLFunction.TRedeemVoucherQR xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RESTapi2.AppsDAL"> <AcctNo>2</AcctNo> <Func>sample string 1</Func> <QRcode>sample string 4</QRcode> <VoucherId>sample string 3</VoucherId> </SQLFunction.TRedeemVoucherQR>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |