XML Usage specification

Element/@Attribute

Parent XPath

Description

@TimeStamp

/OTA_ReadRQ

Time of the transaction in xml schema date-time format

@Version /OTA_ReadRQ

The OTA schema version. Mandatory. Use “3.500”.

@Target /OTA_ReadRQ

Set to “Production”.

POS

/OTA_ReadRQ

/OTA_ReadRQ /POS

Element for indicating the source system.

RequestorID

/OTA_ReadRQ /POS/Source

@Type

/OTA_ReadRQ /POS/Source/RequestorID

Type of the ID. Set to “22”. ERSP (Electronic reservation service provider).

@ID

/OTA_ReadRQ /POS/Source/RequestorID

The id for the PMS.

BookingChannel

/OTA_ReadRQ /POS/Source

Requestor Name information

@Type

/OTA_ReadRQ /POS/Source/BookingChannel

The type of the requestor system. “4” for PMS, “5” for CRS.

@Primary

/OTA_ReadRQ /POS/Source/BookingChannel

Set to “true”.

CompanyName

/OTA_ReadRQ /POS/Source/BookingChannel

Name of the requestor System.

@Code

/OTA_ReadRQ /POS/Source/BookingChannel

The code of the PMS, assigned by RateGain.

ReadRequests

/OTA_ReadRQ

Container for the read request

HotelReadRequest

/OTA_ReadRQ/ReadRequests

The read request

@HotelCode

/OTA_ReadRQ/ReadRequests/HotelReadRequest

The hotel code of the hotel for which the reservation is to be downloaded.

SelectionCriteria

/OTA_ReadRQ/ReadRequests/ HotelReadRequest

Contains the selection criteria to filter reservations to be retrieved.

@SelectionType

/OTA_ReadRQ/ReadRequests/HotelReadRequest/SelectionCriteria

Set to “Undelivered” to request all previously undelivered reservations.

Last updated