Booking Hint Request
Element / Attribute |
Data Type |
Occurs |
Required |
Examples |
Description |
RequestTimestamp |
Numeric | 1 | Y | 1483526410357(2017-01-04 10:40:10.357) | A timestamp is a sequence of characters or encoded information indentifying when a certain event occured. Time provided must correspond with the time in the originating system and in EPOCH. System requiresEPOCH timestamps in milliseconds |
PropertyId |
String Length 1-8 | [1..unbound] | Y | 123 | Every request must contain a vaild property ID that partner has access to |
Bookingbooking_id |
Numeirc Length 1-15 | [1..unbound] | N | 12345678 | Agoda booking ID |
| booking_date | datetime | Y | 2017-03-03T14:50:00+07:00 | Date and time of booking created, Agoda always send the time in ICT timezone (GMT+7) | |
| last_action | datetime | Y | 2017-03-03T14:50:33+07:00 | Date and time of booking created, Agoda always send the time in ICT timezone (GMT+7) | |
| arrival | date | Y | 2017-03-15 | Check-in date | |
| departure | date | Y | 2017-03-15 | Check-out date | |
| @status | string | Y | ConfirmBooking | Denotes the status type of bookings. Statuses are: ConfirmBooking AmendBooking CancelBooking |
Booking Hint Response
Element / Attribute |
Data Type |
Occurs |
Required |
Examples |
Description |
ResultTimestamp |
Numeric | 1 | Y | 1483526410357(2017-01-04 10:40:10.357) | A timestamp is a sequence of characters or encoded information indentifying when a certain event occured. Time provided must correspond with the time in the originating system and in EPOCH. System requiresEPOCH timestamps in milliseconds |
success |
1 | N | This tag will be returned when set product success without error | ||
errorscode |
Numeirc Length 4 | [0..1] | N | Refer to Error List | Agoda's error code Refer to Error List |
| description | string | [0..1] | N | Refer to Error List | Agoda's error message. Refer to Error List |
