POST api/appointment/confirm-booking-day
Request Information
URI Parameters
None.
Body Parameters
ConfirmBookingMultipleGroundsParams| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | integer |
None. |
|
| ComId | string |
None. |
|
| ComName | string |
None. |
|
| ComAddress | string |
None. |
|
| BookingId | integer |
None. |
|
| CustomerId | integer |
None. |
|
| CustomerName | string |
None. |
|
| CustomerPhone | string |
None. |
|
| BookingDate | string |
None. |
|
| BookingNote | string |
None. |
|
| GroundName | string |
None. |
|
| TotalMoney | decimal number |
None. |
|
| Grounds | Collection of SelectedGrounds |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": 1,
"ComId": "sample string 2",
"ComName": "sample string 3",
"ComAddress": "sample string 4",
"BookingId": 5,
"CustomerId": 6,
"CustomerName": "sample string 7",
"CustomerPhone": "sample string 8",
"BookingDate": "sample string 9",
"BookingNote": "sample string 10",
"GroundName": "sample string 11",
"TotalMoney": 12.1,
"Grounds": [
{
"GroundId": 1,
"GroundName": "sample string 2",
"RegionId": 3,
"StartTime": "sample string 4",
"EndTime": "sample string 5",
"GroundPrice": 6.1
},
{
"GroundId": 1,
"GroundName": "sample string 2",
"RegionId": 3,
"StartTime": "sample string 4",
"EndTime": "sample string 5",
"GroundPrice": 6.1
}
]
}
application/xml, text/xml
Sample:
<ConfirmBookingMultipleGroundsParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJPosPortal.Entities.ApiEntities">
<BookingDate>sample string 9</BookingDate>
<BookingId>5</BookingId>
<BookingNote>sample string 10</BookingNote>
<ComAddress>sample string 4</ComAddress>
<ComId>sample string 2</ComId>
<ComName>sample string 3</ComName>
<CustomerId>6</CustomerId>
<CustomerName>sample string 7</CustomerName>
<CustomerPhone>sample string 8</CustomerPhone>
<GroundName>sample string 11</GroundName>
<Grounds>
<SelectedGrounds>
<EndTime>sample string 5</EndTime>
<GroundId>1</GroundId>
<GroundName>sample string 2</GroundName>
<GroundPrice>6.1</GroundPrice>
<RegionId>3</RegionId>
<StartTime>sample string 4</StartTime>
</SelectedGrounds>
<SelectedGrounds>
<EndTime>sample string 5</EndTime>
<GroundId>1</GroundId>
<GroundName>sample string 2</GroundName>
<GroundPrice>6.1</GroundPrice>
<RegionId>3</RegionId>
<StartTime>sample string 4</StartTime>
</SelectedGrounds>
</Grounds>
<TotalMoney>12.1</TotalMoney>
<UserId>1</UserId>
</ConfirmBookingMultipleGroundsParams>
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.