POST api/Hotel/booking
Request Information
URI Parameters
None.
Body Parameters
AvailabilityHotel| Name | Description | Type | Additional information |
|---|---|---|---|
| HotelsIdMapping | Collection of HotelsId |
None. |
|
| HotelId | Collection of integer |
None. |
|
| Rooms | integer |
None. |
|
| ConfigHab | string |
None. |
|
| CheckIn | string |
None. |
|
| CheckOut | string |
None. |
|
| Nights | integer |
None. |
|
| Currency | string |
None. |
|
| ExchangeRateSale | decimal number |
None. |
|
| ExchangeRateBuy | decimal number |
None. |
|
| DaysBeforePurchase | decimal number |
None. |
|
| BestRoom | boolean |
None. |
|
| RoomCode | string |
None. |
|
| MeanPlanCode | string |
None. |
|
| Live | boolean |
None. |
|
| UserNameWS | string |
None. |
|
| PasswordWS | string |
None. |
|
| Lang | string |
None. |
|
| Country | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"HotelsIdMapping": [
{
"$id": "2",
"HotelId": 1,
"HotelIdExterno": 2
},
{
"$ref": "2"
}
],
"HotelId": [
1,
2
],
"Rooms": 1,
"ConfigHab": "sample string 2",
"CheckIn": "sample string 3",
"CheckOut": "sample string 4",
"Nights": 5,
"Currency": "sample string 6",
"ExchangeRateSale": 7.1,
"ExchangeRateBuy": 8.1,
"DaysBeforePurchase": 9.1,
"BestRoom": true,
"RoomCode": "sample string 11",
"MeanPlanCode": "sample string 12",
"Live": true,
"UserNameWS": "sample string 14",
"PasswordWS": "sample string 15",
"Lang": "sample string 16",
"Country": "sample string 17"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Folio | integer |
None. |
|
| Message | string |
None. |
|
| Id | integer |
None. |
|
| Response | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Folio": 1,
"Message": "sample string 2",
"Id": 3,
"Response": {
"$id": "2"
}
}