Skip to main content

AmendRoomsSimulateInput

Represents the input data for modifying the room configuration and occupancy details of an existing booking.

Propertiesโ€‹

NameTypeDescription
ReferenceReferenceBooking references for identifying the reservation to be amended.
Reference/
ClientReference
StringThe client's internal reference for the booking.
Reference/
SupplierReference
StringThe supplier's reference for the booking.
RoomsArray<AmendRoom>The new room configuration for the booking. Each AmendRoom specifies a room type and its associated occupancy.
Rooms/OccupancyRefIdIntegerReference to the occupancy that will be assigned to this room. This links the room to its corresponding occupancy in the Occupancies list.
Rooms/CodeStringThe room type code (e.g., "DBL" for Double, "SGL" for Single, "TWN" for Twin).
OccupanciesArray<AmendOccupancy>The updated occupancy information with passenger details for each room. Each occupancy must have a unique OccupancyId that matches an OccupancyRefId in the Rooms list.
Occupancies/
OccupancyId
IntegerThe unique identifier for the occupancy. Must match the OccupancyRefId in Rooms to link passengers to their assigned room.
Occupancies/PaxesArray<BookPaxInput>The list of passengers in this occupancy.
Occupancies/Paxes/AgeIntegerThe age of the passenger.
Occupancies/Paxes/NameStringThe first name of the passenger.
Occupancies/Paxes/
SurName
StringThe surname (last name) of the passenger.
Occupancies/Paxes/
PersonalTitleType
PersonalTitleTypeThe personal title of the passenger (e.g., MR, MRS, MS, MISS, NOT_SPECIFIED).
Occupancies/Paxes/
DateOfBirth
StringDate of birth of the passenger, represented as a string in ISO 8601 format (YYYY-MM-DD).
Occupancies/Paxes/
IdentificationDocuments
Array<IdentificationDocument>Identification documents for the passenger (e.g., passport, ID card).