XML Usage specification

Element/@Attribute

Description

Parent XPath

Occurrences

@TimeStamp

/OTA_HotelResNotifRS

Response Time Stamp

1

@Version

/OTA_HotelResNotifRS

Mandatory

1

HotelReservations

/OTA_HotelResNotifRS

Must be present in case of Success response

1

HotelReservation

/OTA_HotelResNotifRS/ HotelReservations

One for each reservation notification received in the request

1

ResGlobalInfo

/OTA_HotelResNotifRS/HotelReservations/HotelReservation

A container for various information that affects the Reservation as a whole

1

HotelReservationIDs

/OTA_HotelResNotifRS/HotelReservations/HotelReservation/ResGlobalInfo

A Collection of HotelReservationID objects for a given reservation.

1

HotelReservationID

/OTA_HotelResNotifRS/HotelReservations/HotelReservation/ResGlobalInfo/

HotelReservationIDs

The HotelReservationID object contains various unique(ReservationID) and non-unique (ConfirmationID, CancellationID) identifiers that the trading partners associate with a given reservation. Both the PMS and RG Bridge Booking ID will be returned .

2..3

@ResID_Type

/OTA_HotelResNotifRS/

HotelReservations/HotelReservation/ResGlobalInfo/

HotelReservationIDs/HotelReservationID

Defines the type of Reservation ID(e.g. reservation number, cancellation number).

Refer to Open Travel Code List UniqueID

Type (UIT) 3 for PMS Confirm ID and 14 for RG BridgeID

1

@ResID_Value

/OTA_HotelResNotifRS/

HotelReservations/HotelReservation/ResGlobalInfo/

HotelReservationIDs/HotelReservationID

Actual value associated with ResID_Type as generated by the system that is the source of the ResID_Type

1

Errors

/OTA_HotelResNotifRS

Included in response only if there are errors in processing

0..1

Error

/OTA_HotelResNotifRS/Errors

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

1

@Code

/OTA_HotelResNotifRS/Errors/Error

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

1

@ShortText

/OTA_HotelResNotifRS/Errors/Error

Free Text

1

@Status

/OTA_HotelResNotifRS/Errors/Error

Should be set to String “NotProcessed

1

Success

/OTA_HotelResNotifRS

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

0..1

Warnings

/OTA_HotelResNotifRS

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

0..1

Warning

/OTA_HotelResNotifRS/Warnings

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

1

@Code

/OTA_HotelResNotifRS/Warnings/Warning

All Warnings will have the code set as “3000”

1

@ShortText

/OTA_HotelResNotifRS/Warnings/Warning

Free Text

1

@Status

/OTA_HotelResNotifRS/Warnings/Warning

Should be set to String “Processed”.

0..1