POST api/booking
Request Information
URI Parameters
None.
Body Parameters
BookingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PlaceId | string |
None. |
|
| Rooms | Collection of BookingRoomModel |
None. |
|
| Adults | integer |
None. |
|
| Child1 | integer |
None. |
|
| Child2 | integer |
None. |
|
| Child3 | integer |
None. |
|
| Child4 | integer |
None. |
|
| Child5 | integer |
None. |
|
| Child6 | integer |
None. |
|
| Arrive | date |
None. |
|
| Depart | date |
None. |
|
| ContactName | string |
None. |
|
| EmailAddress | string |
None. |
|
| PhoneNumber | string |
None. |
|
| CountryCode | string |
None. |
|
| SpecialRequest | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PlaceId": "sample string 1",
"Rooms": [
{
"RoomTypeId": "sample string 1",
"Rooms": 2
},
{
"RoomTypeId": "sample string 1",
"Rooms": 2
}
],
"Adults": 1,
"Child1": 1,
"Child2": 1,
"Child3": 1,
"Child4": 1,
"Child5": 1,
"Child6": 1,
"Arrive": "2025-12-05T23:40:04.6771729-05:00",
"Depart": "2025-12-05T23:40:04.6771729-05:00",
"ContactName": "sample string 4",
"EmailAddress": "sample string 5",
"PhoneNumber": "sample string 6",
"CountryCode": "sample string 7",
"SpecialRequest": "sample string 8"
}
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"