Response message format
The response message is almost identical to the Enhanced Shopping (EST) Response and is only summarized here.
Element Path
Attribute
Occ
Type
Notes
HotelML/Head
1
This standard element contains some transaction metadata and any applicable errors or warnings. For details of this element and all child elements, see Section 0, header (Response Message)
HotelML/Property
0..1
xml:lang
0..1
Char
Identifies the language of the response message that was returned by the hotel’s CRS. The language will normally be the requested language or English if the requested language was not available. However, if the affiliate is configured to accept response messages with unmatched languages, RateGain will return the response to the affiliate in whichever language the hotel’s CRS has provided
Code
1
Char
Chain and property code, separated by a semi-colon – e.g. “UI;AB1234”
DataOrigin
0..1
Enum.
Indicates whether the response was generated from the UltraDirect transaction cache or the source (CRS). Values are: “Cache” or “Source”. Only returned Head/Route/@RequestedAccuracy is supplied in the request
DataAge
0..1
Date & time
The date and timestamp of the response. If the response was generated from the cache then this is the timestamp of when it was added to the cache). The format is “2011-05-08T14:28:01.268-00:00”. Only returned Head/Route/@RequestedAccuracy is supplied in the request
Token
0..1
Char
Token generated by UltraDirect
HotelML/Property/Rate
This is exactly the same as the rate information returned in Enhanced Shopping transaction and so is not repeated here. See section 0 for details of this element and all child elements.