Reservation
{
"hotelId": "321123",
"reservationId": "543545",
"status": "Confirm",
"date": "2022-01-01",
"name": "Wesley",
"mail": "[email protected]",
"address": "Nieuwezijds Voorburgwal 147 1012 RJ Amsterdam, Nederland",
"city": "Amsterdam",
"country": "Nederland",
"telephone": "+319998877",
"totalAdultCount": 2,
"totalChildCount": 1,
"totalPrice": 721.05,
"currency": "EUR",
"remark": "Should be sea side",
"paymentType": "Cash",
"paidBy": "Guest",
"card": {
"ccNo": "0000111122223333",
"ccCVV": "000",
"ccName": "Wesley Sneijder",
"type": "Visa",
"ccYear": 2026,
"ccMonth": 2
},
"rooms": [
{
"roomReservationId": "8732121",
"roomId": "541",
"rateId": "981",
"name": "Wesley Sneijder",
"adultCount": 2,
"childCount": 1,
"arrivalDate": "1940-02-02",
"departureDate": "1940-02-04",
"totalPrice": 420.50,
"dailyPrices": [
{
"date": "2022-02-02",
"price": 210.25
},
{
"date": "2022-02-03",
"price": 210.25
}
],
"guests": [
{
"name": "Wesley",
"surname": "Sneijder",
"type": "Adult",
"age": 39
},
{
"name": "Yolanthe",
"surname": "Sneijder",
"type": "Adult",
"age": 37
},
{
"name": "Xess",
"surname": "Sneijder",
"type": "Child",
"age": 4
}
]
},
{
"roomReservationId": "544232",
"roomId": "542",
"rateId": "9872",
"name": "Didier Drogba",
"adultCount": 1,
"childCount": 0,
"arrivalDate": "1950-02-05",
"departureDate": "1950-02-06",
"totalPrice": 300.55,
"dailyPrices": [
{
"date": "2022-02-05",
"price": 300.55
}
],
"guests": [
{
"name": "Didier",
"surname": "Drogba",
"type": "Adult",
"age": 41
}
]
}
]
}
Element / @Attribute Description | Description | Description |
---|---|---|
id * | Integer | Unique Reservation Id on channel system. |
status * | String | Reservation Status. Only use "New","Modify","Cancel" |
date * | date | Reservation taken date. |
name | string | Guest Name who get the reservation. |
mail | string | Mail address (Main guests Information) |
address | string | Address (Main guests Information) |
city | string | City (Main guests Information) |
country | string | country (Main guests Information) |
telephone | string | telephone (Main guests Information) |
totalAdultCount | number | Total Adult |
totalChildCount | number | Total Child |
total_cost | string | Total Cost of Reservation |
currency | string | Currency of Total Cost |
remark | string | Special Notes |
arrivalDate | date | CheckIn date.Format: YYYY-MM-DD. |
departureDate | date | Checkout date.Format: YYYY-MM-DD. |
paymentType | string | Payment Type of Reservation |
card | card | Payment Card Infos |
number | string | Number of Card |
ccCVV | string | Special number for Card |
holder_name | string | Name/Surname Card owner |
type | string | Type of Card Exp:(Visa,Master) |
ccYear | string | Last Use Date (Year part) |
ccMonth | string | Last Use Date (Month part) |
rooms * | string | Reservation detail infos |
room_reservation_id * | string | Voucher No |
room_id | string | Reservation room id on channel |
rate_id | string | Reservation rate id on channel |
adultCount | number | Total Adult |
childCount | number | Total Child |
arrivalDate | string | CheckIn date.Format: YYYY-MM-DD. |
departureDate | string | Checkout date.Format: YYYY-MM-DD. |
total_cost | string | Total Cost of This Room |
dailyPrices | string | Daily prices for this room |
date | string | Price date.Format: YYYY-MM-DD. |
price | float | Price of specified date |
guests | string | Description of Guests for this room |
name | string | Guest Name |
surname | string | Guest Surname |
type | string | Type of guest .Values "Adult","Chd" |
age | number | Age of Guest |
Note: Reservations must be send one by one.But If the reservation has more than one room then could be detailed under "rooms" tag.
* Required fields
Last modified 1yr ago