HotelPropertyListGetRS

  • HotelPropertyListGetRS:

    • OTA should respond to the HotelPropertyListGetRQ request by returning a HotelPropertyListGetRS message.

Validation and Errors:

  • If the OTA is not able to validate a message at the application level, it should still return a HotelPropertyListGetRS message.

  • Failure Response: Response messages indicating failures must contain at least one error element. More than one error element can be returned if necessary.

Successful Response:

  • After validating the chain code or login credentials, the OTA should:

    • Return a HotelPropertyListGetRS message with a single Success element.

    • Include the list of properties in the Hotels element.

  • Single Property Account:

    • If the OTA does not use multi-property accounts, it should return information regarding the one hotel identified by the request.

Element/@Attribute

Parent Xpath

Description

Mandatory

@TimeStamp

/HotelPropertyListGetRS

Time of the transaction in XML schema date-time format.

Y

@Target

/HotelPropertyListGetRS

The environment to target this message to. For this version of the specification always set to “Production”.

Y

@Version

/HotelPropertyListGetRS

The version of the message. For this version of the specification set to “1.0”.

Y

Success

/HotelPropertyListGetRS

If included, this element will indicate that the request message was successfully processed.

If this element is returned, a hotel element must also be returned. Either a Success element or an Errors element is required in every response.

Y?

Errors

/HotelPropertyListGetRS

If included, this element will indicate that the request message could not be processed.

Either a Success element or an Errors element is required in every response.

Y?

Error

/HotelPropertyListGetRS/Errors

Description of cause for a fatal problem during request message processing.

*If an Errors element is included, at least one Error element is required.

Y

@Type

/HotelPropertyListGetRS/Errors/Error

This is an enumeration of error types. See Code Lists below for supported values. Code list Error Types.

Y

@Code

/HotelPropertyListGetRS/Errors/Error

This is an enumeration of error codes. See Code Lists below for supported values. Code list Error Codes.

Y

Hotels

/HotelPropertyListGetRS

This element contains a list of hotels. This element is used to return the list of all hotels that belong to the chain that can be updated using these login credentials.

Y?

@ChainCode

/HotelPropertyListGetRS/Hotels

The code identifies the hotel chain. All the hotels returned belong to this chain of hotels. This code is assigned by the OTA.

If you don’t support this Code then a blank value will be passed in this attribute of the request.

N

Hotel

/HotelPropertyListGetRS/Hotels

This element contains information about one hotel.

Y

@HotelCode

/HotelPropertyListGetRS/Hotels/Hotel

This element identifies the hotel. The OTA must assign a code that identifies the hotel across all chains of hotels. The chain code is not passed in other transactions. Therefore the code must uniquely identify the hotel independent of the chain code.

Y

@Name

/HotelPropertyListGetRS/Hotels/Hotel

The name of the hotel.

Y

Last updated