| Element or @Attribute |
Data Type |
No. of occur |
Mandatory |
Example |
Description |
| OTA_HotelResRQ |
Datetime |
1 |
Y |
2016-09-01T13 :25 :42+07:00 |
Indicates the creation date and time of the message using the following format specified by ISO 8601; YYYY-MM-DDThh:mm:ss(+/-)hh:mm with time values using the 24 hour clock (e.g. 20 November 2016, 1:59:38 pm BKK becomes 2016-11-20T13:59:38+07:00). |
| @Timestamp |
|
|
|
|
|
| @Version |
Double |
1 |
Y |
0.1 |
For all OTA versioned messages, the version of the message is indicated by a double value (format n.n). |
| @xmlns |
String |
1 |
Y |
http://www.opentravel.org/OTA/2003/05 |
Namespace for the OTA payload message. |
| @xmlns :xsi |
String |
1 |
Y |
http://www.w3.org/2001/XMLSchema-instance |
Namespace for XML schema-instance. |
| POS |
Numeric length 8 |
1 |
Y |
96637800 |
Unique identifier of the requestor. |
| Source |
|
|
|
|
Agodas IATA ID is 96637800 |
| RequestorID |
|
|
|
|
|
| @ID |
|
|
|
|
|
| @ID_Context |
String length 4 |
1 |
Y |
IATA |
Used to identify the source of the identifier |
| @Type |
OTA_CodeType |
1 |
Y |
18 |
Reference to the type of requestor. 18 = Other |
|
|
|
|
|
Refer to Appendix E for more details |
| @URL |
String length 1 to 50 |
1 |
Y |
Agoda.com |
Used to identify the source URL |
| HotelReservations |
Datetime |
1 |
Y |
2016-09-01T00:00:00+07:00 |
Indicates the booking date and time using the following format specified by ISO 8601; YYYY-MM-DDThh:mm:ss(+/-)hh:mm with time values using the 24 hour clock (e.g. 20 November 2016, 1:59:38 pm BKK becomes 2016-11-20T13:59:38+07:00). |
| HotelReservation |
|
|
|
|
|
| @CreateDateTime |
|
|
|
|
|
| RoomRates |
numeric |
1 |
Y |
2 |
Details on the room rates associated with the reservation. |
| RoomRate |
|
|
|
|
Used to identify the number of room to be booked. |
| @NumberOfUnits |
|
|
|
|
|
| @RoomTypeCode |
string length |
1 |
Y |
3138110 |
Used to identify the unique room type code to be booked. |
|
1 to 20 |
|
|
|
|
| @RatePlanCode |
string length |
1 |
Y |
25468 |
Used to identify the unique rate plan code to be booked. |
|
1 to 20 |
|
|
|
|
| @ChannelID |
numeric |
[0..1] |
N |
1 |
Used to identify the channel id to be booked. This field will be provided for YCS5 hotel only. |
|
|
|
|
|
|
|
|
|
|
|
**Supplier should have the channel id mapping for channel id and channel name if it required in supplier side. |
|
|
|
|
|
|
|
|
|
|
|
Refer to Appendix F for more details |
| Features |
String length 1 to 250 |
[0..n] |
N |
ExtraBed |
To identify feature of that room for example, ExtraBed etc. |
| Feature |
|
|
|
|
|
| Description |
|
|
|
|
|
| @Name |
|
|
|
|
|
| Rates |
numeric |
[1..n] |
Y |
1 |
The number of days between effective date and expiry date with that particular rate |
| Rate |
|
|
|
|
|
| @UnitMultiplier |
|
|
|
|
|
| @RateTimeUnit |
String length 1 to 20 |
1 |
Y |
Day |
Default for Agoda Request it will be Day |
| @EffectiveDate |
date |
1 |
Y |
4/2/2016 |
Effective date for that particular date the format will be YYYY-MM-DD |
| @ExpireDate |
Date |
1 |
Y |
4/3/2016 |
Expire date for that particular date the format will be YYYY-MM-DD |
| Rates |
numeric |
[1..n] |
Y |
2 |
Indicates the number of decimal places for a particular currency. This is equivalent to the ISO 4217 standard minor unit. Typically used when the amount provided includes the minor unit of currency without a decimal point (e.g., USD 8500 needs DecimalPlaces=2 to represent $85 |
| Rate |
|
|
|
|
|
| Base |
|
|
|
|
|
| @DecimalPlaces |
|
|
|
|
|
| @CurrencyCode |
Alpha |
1 |
Y |
USD |
The code specifying a monetary unit. Use ISO 4217, three alpha code. |
|
length 3 |
|
|
|
|
| @AmountAfterTax |
double |
[0..1] |
N |
26836 |
Daily room price include tax multiplied by number of rooms. |
|
|
|
|
|
|
|
|
|
|
|
To calculate this number, it may need to refer to Decimal place value which define for the floating point for this number for example |
|
|
|
|
|
Price = 26836 and DecimalPlaces = 2 so the value will be $268.36 |
|
|
|
|
|
|
|
|
|
|
|
Price can be Net or Sell price depend on property setting. |
| @ AmountBeforeTax |
double |
[0..1] |
N |
26033 |
Daily room price exclude tax multiplied by number of rooms. |
|
|
|
|
|
|
|
|
|
|
|
To calculate this number, it may need to refer to Decimal place value which define for the floating point for this number for example |
|
|
|
|
|
Price = 26033 and DecimalPlaces = 2 so the value will be $260.33 |
|
|
|
|
|
|
|
|
|
|
|
Price can be Net or Sell price depend on property setting. |
| @ Tax |
double |
[0..1] |
N |
200 |
Daily Tax multiplied by number of rooms. |
|
|
|
|
|
|
|
|
|
|
|
To calculate this number, it may need to refer to Decimal place value which define for the floating point for this number for example |
|
|
|
|
|
Price = 26033 and DecimalPlaces = 2 so the value will be $260.33 |
| @ Fee |
double |
[0..1] |
N |
100 |
Daily Fee multiplied by number of rooms. |
|
|
|
|
|
|
|
|
|
|
|
To calculate this number, it may need to refer to Decimal place value which define for the floating point for this number for example |
|
|
|
|
|
Price = 26033 and DecimalPlaces = 2 so the value will be $260.33 |
| @ RefSell |
double |
[0..1] |
N |
27000 |
Daily Reference sell (Sell Inclusive) multiplied by number of rooms. |
|
|
|
|
|
|
|
|
|
|
|
To calculate this number, it may need to refer to Decimal place value which define for the floating point for this number for example |
|
|
|
|
|
Price = 26033 and DecimalPlaces = 2 so the value will be $260.33 |
| GuestCounts |
|
[1..n] |
Y |
|
Detail of number of guests. |
| GuestCount |
|
|
|
|
|
| @AgeQualifyingCode |
Numeric |
1 |
Y |
10 |
A code representing a business rule that determines the charges for a guest based upon age range (e.g. Adult, Child, Senior, Child With Adult, Child Without Adult). Refer to OpenTravel Code List Age Qualifying Code (AQC) |
| @Count |
Numeric |
1 |
N |
1 |
The number of that particular specific guest type. |
| Total |
numeric |
[1..n] |
Y |
2 |
Indicates the number of decimal places for a particular currency. This is equivalent to the ISO 4217 standard minor unit. Typically used when the amount provided includes the minor unit of currency without a decimal point (e.g., USD 8500 needs DecimalPlaces=2 to represent $85 |
| @ DecimalPlaces |
|
|
|
|
|
| @CurrencyCode |
Alpha |
1 |
Y |
USD |
The code specifying a monetary unit. Use ISO 4217, three alpha code. |
|
length 3 |
|
|
|
|
| @AmountAfterTax |
double |
[0..1] |
N |
26836 |
Total room price include tax multiplied by number of rooms and nights. |
|
|
|
|
|
|
|
|
|
|
|
To calculate this number, it may need to refer to Decimal place value which define for the floating point for this number for example |
|
|
|
|
|
Price = 26836 and DecimalPlaces = 2 so the value will be $268.36 |
|
|
|
|
|
|
|
|
|
|
|
Price can be Net or Sell price depend on property setting. |
| @ AmountBeforeTax |
double |
[0..1] |
N |
26033 |
Total room price exclude tax multiplied by number of rooms and nights. |
|
|
|
|
|
|
|
|
|
|
|
To calculate this number, it may need to refer to Decimal place value which define for the floating point for this number for example |
|
|
|
|
|
Price = 26033 and DecimalPlaces = 2 so the value will be $260.33 |
|
|
|
|
|
|
|
|
|
|
|
Price can be Net or Sell price depend on property setting. |
| @ Tax |
double |
[0..1] |
N |
200 |
Total Tax multiplied by number of rooms and nights. |
|
|
|
|
|
|
|
|
|
|
|
To calculate this number, it may need to refer to Decimal place value which define for the floating point for this number for example |
|
|
|
|
|
Price = 26033 and DecimalPlaces = 2 so the value will be $260.33 |
| @ Fee |
double |
[0..1] |
N |
100 |
Total Fee multiplied by number of rooms and nights. |
|
|
|
|
|
|
|
|
|
|
|
To calculate this number, it may need to refer to Decimal place value which define for the floating point for this number for example |
|
|
|
|
|
Price = 26033 and DecimalPlaces = 2 so the value will be $260.33 |
| @ RefSell |
double |
[0..1] |
N |
27000 |
Total Reference sell (Sell Inclusive) multiplied by number of rooms and nights. |
|
|
|
|
|
|
|
|
|
|
|
To calculate this number, it may need to refer to Decimal place value which define for the floating point for this number for example |
|
|
|
|
|
Price = 26033 and DecimalPlaces = 2 so the value will be $260.33 |
| ResGuests |
|
1 |
Y |
|
Detail of guests associated with a reservation. |
|
|
|
|
|
|
| ResGuest |
|
[1..n] |
Y |
|
Detail of each guest associated with reservation. Agoda can send only lead guest information or all guests to be stayed at the hotel. |
| @ResGuestRPH |
Numeric |
1 |
Y |
1 |
The index of guest. |
| @PrimaryIndicator |
Boolean |
1 |
Y |
True/False |
To identify the guest is primary contact. |
| Profiles |
|
1 |
Y |
|
Identify guest profile |
| ProfileInfo |
|
|
|
|
|
| Profile |
|
|
|
|
|
| Customer |
|
|
|
|
|
| PersonName |
|
|
|
|
|
| GivenName |
|
1 |
Y |
|
Given name, first name or names |
| Surname |
|
1 |
Y |
|
Family name, last name |
| Telephone |
|
[0..1] |
Y |
1234567890 |
Customer phone number. This can be alphanumeric. |
| Email |
|
[0..1] |
N |
[email protected] |
Email address of the customer. |
| CitizenCountryName |
|
[0..1] |
N |
TH |
Citizen Country name (e.g. TH, CN, JP, US) |
|
|
|
|
|
|
|
|
|
|
|
Refer to Appendix A : Guest Country |
| ResGlobalInfo |
|
1 |
Y |
|
ResGlobalInfo is a container for various information that affects the Reservation as a whole. These include global comments, counts, reservation IDs, loyalty programs, and payment methods |
| TimeSpan |
|
1 |
Y |
|
The Time Span which covers the period of stay. |
| @Start |
datetime |
1 |
Y |
8/22/2016 |
Check-in date with format YYYY-MM-DD |
| @End |
datetime |
1 |
Y |
8/25/2016 |
Check-out date with format YYYY-MM-DD |
| SpecialRequests |
|
[0..1] |
N |
|
Identify customers additional requests. |
| SpecialRequest |
|
|
|
|
|
| Text |
string length |
1 |
Y |
NonSmoke, HighFloor, AdditionalNotes:Swimming Pool View Connecting rooms or adjoining rooms please., |
The string of special request list separate each request by ,. |
|
1 to 250 |
|
|
|
|
|
|
|
|
|
Refer to Appendix B: Agoda Special Request |
| Guarantee |
|
[0..1] |
N |
|
Detail of payment information |
| GuaranteesAccepted |
|
|
|
|
|
| GuaranteeAccepted |
|
|
|
|
|
| PaymentCard |
|
1 |
Y |
|
Detail of credit card |
| CardHolderName |
Alpha |
1 |
Y |
Agoda Company Pte Ltd. |
Name on credit card. For all bookings will show Agoda Pte Ltd. |
| CardNumber |
numeric |
1 |
Y |
503444796022xxxx |
Number of the Agoda UPC (Unique Plastic Card) used by the property to debit the amount of the booking. |
|
length 16 |
|
|
|
|
| @Expired |
Date |
1 |
Y |
17-Mar |
Credit card expiry date in format MM/YY |
| @SecureInd |
numeric |
1 |
Y |
170 |
Credit card CVV number |
|
length |
|
|
|
|
|
3 |
|
|
|
|
| HotelReservationIDs |
|
1 |
Y |
|
Detail of hotel reservation contains various unique (ReservationID) and non-unique (ConfirmationID, CancellationID) identifiers that the trading partners associate with a given reservation |
| HotelReservationID |
|
|
|
|
|
| @ResID_Value |
string |
1 |
Y |
76104819 |
Agodas booking ID |
|
length |
|
|
|
|
|
1 to 20 |
|
|
|
|
| @ResID_Type |
Numeric |
1 |
Y |
4 |
Reference to the type of requestor. 4 = Agoda booking ID |
| @ResID_Source |
string |
1 |
Y |
Agoda |
Source of booking, Its always Agoda. |
|
length |
|
|
|
|
|
1 to 20 |
|
|
|
|
| BasicPropertyInfo |
|
1 |
Y |
|
Property Information for the Room Stay |
| @ HotelCode |
string |
1 |
Y |
6000089 |
Used to identify the unique hotel id to be booked. |
|
length |
|
|
|
|
|
1 to 20 |
|
|
|
|
| TPA_Extensions |
string length |
[0..1] |
N |
|
An element for additional data if needed. |
|
1 to 250 |
|
|
|
|