HotelProductListGetRS
OTA Response to Product List Request
Response Message:
HotelProductListGetRS:
OTA should respond to the
HotelProductListGetRQ
request by returning aHotelProductListGetRS
message.
Validation and Errors:
If the OTA is not able to validate a message at the application level, it should still return a
HotelProductListGetRS
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 hotel code, the OTA should:
Return a
HotelProductListGetRS
message with a single Success element.Include the list of products for the hotel in the
Products
element.
Product Identification:
DirectConnect identifies a product by room type and rate type.
Element/@Attribute
Parent XPath
Description
Mandatory
@TimeStamp
/HotelProductListGetRS
Time of the transaction in XML schema date-time format.
Y
@Version
/HotelProductListGetRQ
The version of the message. For this version of the specification set to “1.0”.
Y
Success
/HotelProductListGetRS
If included, this element will indicate that the request message was successfully processed.
If this element is returned, a Product element must also be returned.
Either a Success element or an Errors element is required in every response.
Y?
Errors
/HotelProductListGetRS
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
/HotelProductListGetRS/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
/HotelProductListGetRS/Errors/Error
This is an enumeration of error types.
See the Code Lists below for supported values. Code list Error Types.
Y
@Code
/HotelProductListGetRS/Errors/Error
This is an enumeration of error codes.
See Code Lists below for supported values. Codelist Error Codes.
Y
HotelProducts
/HotelProductListGetRS
This element is used to return a list of products of this hotel that are set up for sale on the OTA. RezGain identifies a product as a room type in combination with a rate type.
For each product listed, OTA should ensure that the ARI information can be updated on a daily basis.
Y
HotelProduct
/HotelProductListGetRS/HotelProduc ts
The element contains information about one hotel product. The product must be unique in the list.
Y
ProductReference
/HotelProductListGetRS/HotelProduc ts/HotelProduct
This element contains the part of the hotel product that is used across requests and uniquely identifies a product.
Y
@InvTypeCode
/HotelProductListGetRS/HotelProducts/HotelProduct/ProductReference
The room type code. This is assigned by the OTA.
Y
@RatePlanCode
/HotelProductListGetRS/HotelProduc ts/HotelProduct/ProductReference
The rate type code. This is assigned by the OTA.
Y
RoomTypeName
/HotelProductListGetRS/HotelProducts/HotelProduct
The name of the room type. This is assigned by the OTA.
Y
Last updated