POST api/OnlineBooking/w_ApplyCoupanCode
Request Information
URI Parameters
None.
Body Parameters
CoupanCodeViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CoupanCode | string |
None. |
|
| Park | integer |
None. |
|
| VisitDate | string |
None. |
|
| VisitActualDate | date |
None. |
|
| Visitors | integer |
None. |
|
| Total | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"CoupanCode": "sample string 1",
"Park": 2,
"VisitDate": "sample string 3",
"VisitActualDate": "2026-10-19T08:22:55.0612197-07:00",
"Visitors": 5,
"Total": 1.0
}
application/xml, text/xml
Sample:
<CoupanCodeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.OnlineBooking"> <CoupanCode>sample string 1</CoupanCode> <Park>2</Park> <Total>1</Total> <VisitActualDate>2026-10-19T08:22:55.0612197-07:00</VisitActualDate> <VisitDate>sample string 3</VisitDate> <Visitors>5</Visitors> </CoupanCodeViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
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. |