Skip to main content

Basic Information

Create a reservation with basic information.

 

ParameterDescriptionTypeRequired
Chain/IdUnique Id that identifies a hotel chain or management group in SynXis CR.StringYes
Hotel/IdUnique Id that identifies a hotel in SynXis CR.StringYes
Booking/PrimaryChannelSynXis CR code for a reservation channel.StringYes
Booking/SecondaryChannelSynXis CR code for a reservation channel, interpreted as the second channel.StringYes
RoomStay/@EndDateDefines the check-out date.StringYes
RoomStay/@StartDateDate from which a rate starts to apply.StringYes
RoomStay/GuestCount/@AgeQualifyingCodeCode representing a guest's age category. 
Values: Adult, Child, Senior
StringYes
RoomStay/GuestCount/@NumGuestsNumber of guests.IntegerYes
RoomStay/@NumRoomsSpecifies how many rooms are requested.IntegerYes
RoomStay/Products/Product/@RateCodeUnique Control Center code for this rate type.StringYes
RoomStay/Products/Product/@RoomCodeUnique Control Center code for this room type.StringYes
StatusStatus code of a reservation. 
Values: Booked, Cancelled, Confirmed, Ignored, OnHold, PendingModify, Stored, Waitlisted
StringYes


 

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"
}