Element and Attributes

Booking Hint Request

Element / Attribute
Data Type
Occurs
Required
Examples
Description
Request
Timestamp
Numeric1Y1483526410357(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
Property
Id
String Length 1-8[1..unbound]Y123Every request must contain a vaild property ID that partner has access to
Booking
booking_id
Numeirc Length 1-15[1..unbound]N12345678Agoda booking ID
booking_datedatetimeY2017-03-03T14:50:00+07:00Date and time of booking created, Agoda always send the time in ICT timezone (GMT+7)
last_actiondatetimeY2017-03-03T14:50:33+07:00Date and time of booking created, Agoda always send the time in ICT timezone (GMT+7)
arrivaldateY2017-03-15Check-in date
departuredateY2017-03-15Check-out date
@statusstringYConfirmBookingDenotes the status type of bookings. Statuses are:
ConfirmBooking
AmendBooking
CancelBooking

Booking Hint Response

Element / Attribute
Data Type
Occurs
Required
Examples
Description
Result
Timestamp
Numeric1Y1483526410357(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
1NThis tag will be returned when set product success without error
errors
code
Numeirc Length 4[0..1]NRefer to Error ListAgoda's error code Refer to Error List
descriptionstring[0..1]NRefer to Error ListAgoda's error message. Refer to Error List