Rooms Master
Query Overview
The roomsMaster
query returns a list of all the hotel room masters created in Inventory. The returned fields include:
id
code
name
1. Criteria
This query offers versatility, with an optional field codes
that can be filled with the Room masters' codes to retrieve. This allows for a tailored query, ensuring that only relevant data is retrieved.
Mandatory Input
clientCode
Optional Input
codes
Your ClientCode
can be retrieved from any TravelgateX access with a Channel Manager.
See My Connections and click "Get form data" in the selected access. The code in Password
is equivalent to the ClientCode
.
2. Settings
To retrieve room masters, provide the clientCode
and, optionally, specify codes
to filter by specific room types.
Response Considerations
The query returns a collection of room masters along with a success status and possible advise messages.
RoomsRs
(OBJECT)
rooms
(InventoryRoom) - A collection of retrieved rooms.id
(Int) - Unique identifier.code
(String) - Room code.name
(String) - Room name.
success
(Boolean) - Indicates if the operation was successful.adviseMessages
(AdviseMessage) - Messages related to the operation.
Query Inputs
InventoryRoomsMasterFilterInput (INPUT_OBJECT)
Rooms master filter input.
Rooms master filter input.
Returned Fields
RoomsRs (OBJECT)
Represents the response data for retrieving rooms.
Represents the response data for retrieving rooms.
Examples
Retrieve full list of Room masters
Retrieve a specific list of Room master
For more personalized results, filter specific Room masters based on your interests.