Breadcrumb
- Reservation Services
- Create Reservation
- Use Cases
- Basic Information
Basic Information
Create a reservation with basic information.
Parameter | Description | Type | Required |
---|---|---|---|
Chain/Id | Unique Id that identifies a hotel chain or management group in SynXis CR. | String | Yes |
Hotel/Id | Unique Id that identifies a hotel in SynXis CR. | String | Yes |
Booking/PrimaryChannel | SynXis CR code for a reservation channel. | String | Yes |
Booking/SecondaryChannel | SynXis CR code for a reservation channel, interpreted as the second channel. | String | Yes |
RoomStay/@EndDate | Defines the check-out date. | String | Yes |
RoomStay/@StartDate | Date from which a rate starts to apply. | String | Yes |
RoomStay/GuestCount/@AgeQualifyingCode | Code representing a guest's age category. Values: Adult, Child, Senior | String | Yes |
RoomStay/GuestCount/@NumGuests | Number of guests. | Integer | Yes |
RoomStay/@NumRooms | Specifies how many rooms are requested. | Integer | Yes |
RoomStay/Products/Product/@RateCode | Unique Control Center code for this rate type. | String | Yes |
RoomStay/Products/Product/@RoomCode | Unique Control Center code for this room type. | String | Yes |
Status | Status code of a reservation. Values: Booked, Cancelled, Confirmed, Ignored, OnHold, PendingModify, Stored, Waitlisted | String | Yes |
Sample Request
{
"Chain": {
"Id": 14161022
},
"Channels": {
"PrimaryChannel": {
"Code": "WEB"
},
"SecondaryChannel": {
"Code": "SYNXISWS_BE"
}
},
"Hotel": {
"Id": 100319
},
"Guests": [
{
"PersonName": {
"GivenName": "John",
"Surname": "Public"
},
"Payments": [
{
"PaymentCard": {
"CardCode": "VI",
"CardHolder": "John Public",
"CardNumber": "444444444444444",
"CardSecurityCode": "123",
"ExpireDate": "1225"
},
"Type": "CreditCard"
}
],
"ContactNumbers": [
{
"Number": "555-123-2717"
}
],
"EmailAddress": [
{
"Value": "john.public@email.com"
}
]
}
],
"RoomStay": {
"StartDate": "2023-06-07",
"EndDate": "2023-06-08",
"GuestCount": [
{
"AgeQualifyingCode": "Adult",
"NumGuests": 1
}
],
"NumRooms": 1,
"Products": [
{
"Product": {
"RateCode": "BAR",
"RoomCode": "LUXQ"
}
}
]
},
"status": "Confirmed"
}