XML Usage specification

Reservation confirmation request; XML Usage

Element/@Attribute

Parent XPath

Description

@TimeStamp

/OTA_NotifReportRQ

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

@Version

/OTA_NotifReportRQ

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

@Target

/OTA_NotifReportRQ

Set to “Production”.

NotifDetails

/OTA_NotifReportRQ

Details of the notification.

HotelNotifReport

/OTA_NotifReportRQ/NotifDetails

HotelReservations

/OTA_NotifReportRQ/NotifDetails/HotelNotifReport

Contains the reservations.

HotelReservation

/OTA_NotifReportRQ/NotifDetails/HotelNotifReport /HotelReservations

One for each reservation retrieved.

POS

/OTA_NotifReportRQ/NotifDetails/HotelNotifReport

/HotelReservations/HotelReservation

Element for including the channel from which booking had been received. This information was provided in /OTA_HotelResNotifRQ/POS

A simple source record would look like this:

<POS>

<Source>

<BookingChannel>

<CompanyName Code=”LTA1”> Famous OTA

</CompanyName>

</BookingChannel>

</Source>

This indicates that the reservation was retrieved from the OTA “Famous OTA” whose CG Bridge code is LTA1.

ResGlobalInfo

/OTA_NotifReportRQ/NotifDetails/HotelNotifReport

/HotelReservations/HotelReservation

HotelReservationIDs

/OTA_NotifReportRQ/NotifDetails/HotelNotifReport /HotelReservations/HotelReservation/ResGlobalInfo

Reservations IDs. Both the PMS and RGBridge Booking IDs should be included.

HotelReservationID

/OTA_NotifReportRQ/NotifDetails/HotelNotifReport

/HotelReservations/HotelReservation/ResGlobalInfo/ HotelReservationIDs

Reservations ID element.

@ResID_Type

/OTA_NotifReportRQ/NotifDetails/HotelNotifReport

/HotelReservations/HotelReservation/ResGlobalInfo/

HotelReservationIDs/HotelReservationID

3 for PMS Confirm ID and 14 for RGBridge ID

@ResID_Value

/OTA_NotifReportRQ/NotifDetails/HotelNotifReport

/HotelReservations/HotelReservation/ResGlobalInfo/

HotelReservationIDs/HotelReservationID

Reservation ID.

Errors

/OTA_NotifReportRQ

Included in response only if there are errors in processing. If there are errors in the processing of reservations, it is suggested that an OTA_NotifReportRQ message is sent for each reservation that could not be processed. The RGBridge reservation ID must also be set in the HotelReservationIDs node under NotifDetails.

Error

/OTA_NotifReportRQ/Errors

Response will include as many Errors as required. At least one Error element must be present if the response contains Errors

@Type

/OTA_NotifReportRQ/Errors/Error

Error Type. Should be one of the codes listed in Error Types below.

@Code

/OTA_NotifReportRQ/Errors/Error

Error code. Should be one of the codes listed in Error Codes below.

@ShortText

/OTA_NotifReportRQ/Errors/Error

Free Text

@Status

/OTA_NotifReportRQ/Errors/Error

Should be set to String “NotProcessed

Success

/OTA_NotifReportRQ

Presence of this element indicates a successful Response and in case of a Success Response the Error element should not be present.

Warnings

/OTA_NotifReportRQ

Response may include warnings along with a Success response. Warnings are not allowed with a response that contains Errors.

Warning

/OTA_NotifReportRQ/Warnings

Response may include as many Warning as required. At least one Warning element must be present in a response that contains Warnings.

@Code

/OTA_NotifReportRQ/Warnings/Warning

All Warnings will have the code set as “3000”

@ShortText

/OTA_NotifReportRQ/Warnings/Warning

Free Text

@Status

/OTA_NotifReportRQ/Warnings/Warning

Should be set to “Processed”.

Last updated