GET api/OrderDetail/RedeemVoucher/{id}/{voucherCode}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
|
| voucherCode | string |
Required |
Body Parameters
None.
Response Information
Resource Description
IntResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseObject | integer |
None. |
|
| Code | ResponseCode |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResponseObject": 1,
"Code": 0,
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<IntResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DotGolf.CasualGolf.WebApi.Contracts"> <Code>None</Code> <Message>sample string 2</Message> <ResponseObject>1</ResponseObject> </IntResponse>