GET api/OrderDetail/GenerateVoucher/{orderDetailId}/{passportId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| orderDetailId | integer |
Required |
|
| passportId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
GenerateVoucherResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseObject | string |
None. |
|
| Code | ResponseCode |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResponseObject": "sample string 1",
"Code": 0,
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<GenerateVoucherResponse 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>sample string 1</ResponseObject> </GenerateVoucherResponse>