Delete Hotel
Mutation Overviewโ
The deleteHotelSetUp mutation is designed to remove a specific hotel from a client-seller relation in Inventory. The returned fields include:
successadviseMessages
1. Criteriaโ
When building your mutation, you need to provide the following input fields:
Mandatory Inputโ
clientCodesupplierCodehotelCode
Optional Inputโ
contextCode
2. Settingsโ
To execute the hotel deletion, specify the necessary fields, ensuring that clientCode, supplierCode, and hotelCode correspond to the correct relation in Travelgate.
Response Considerationsโ
The mutation returns a success status along with possible advise messages.
HotelsSetupRs (OBJECT)โ
success(Boolean) - Indicates whether the operation was successful.adviseMessages(AdviseMessage) - Messages related to the operation.
Mutation Inputsโ
InventoryHotelSetupDeleteInput (INPUT_OBJECT)
Hotel setup delete input data
Hotel setup delete input data
clientCodeย  *ย  (String)
Client code.
supplierCodeย  *ย  (String)
Travelgate Supplier/Channel code.
hotelCodeย  *ย  (String)
Hotel input data.
contextCode(String)
Context code related to the hotel.
Returned Fieldsโ
HotelsSetupRs (OBJECT)
Represents the response object for hotel setup operations.
Represents the response object for hotel setup operations.
adviseMessages(AdviseMessage)
Collection of advise messages. codeย  *ย  (ID) AM code: The following codes can be returned: descriptionย  *ย  (String) Error description levelย  *ย  (AdviseMessageLevel) Indicates the level of importance of the message.
Possible values: ERROR, WARN, INFO.
Possible values: Specify the external message. External code. messageย  *ย  (String) External message. correlationIDย  *ย  (ID) Identifier to investigate the cause of the error.WARN: Warning message.ERROR: Error message.INFO: Info message.external(ExternalMessage)
code(String)
hotels(InventoryHotelSetup)
Collection of hotel responses. idย  *ย  (Int) Unique identifier of the hotel. Code associated with the hotel. Context code related to the hotel. activeย  *ย  (Boolean) Indicates whether the hotel is active. sendNotificationย  *ย  (Boolean) Indicates whether booking notifications should be sent for this hotel. Email addresses for booking notifications related to this hotel. Email addresses to be copied on booking notifications related to this hotel. Email addresses or contact information for support that will be displayed in the email notifications.hotelCode(String)
contextCode(String)
emailNotification(String)
emailNotificationCc(String)
emailNotificationSupport(String)
successย  *ย  (Boolean)
Indicates whether the operation was successful based on the absence of advise messages.