Example Request/Response
Header
Authorization: Basic [API key]
Example
Authorization: Basic dhxHaThFUDg6czVJYUR5bGw= Body
{
"RatePlans": {
"HotelCode": "HT24001234",
"RatePlan": [{
"RatePlanNotifType": "New",
"RatePlanID": "TN24000001",
"MealPlanID": "2",
"Description": {
"Name": "Room & Breakfast"
},
"CurrencyCode": "IDR"
}, {
"RatePlanNotifType": "New",
"RatePlanID": "TN24000001",
"Description": {
"Name": "Room Only"
},
"CurrencyCode": "IDR"
}
]
}
}{
"Status": "Success"
}{
"Status": "Fail",
"Errors": [{
"Code": "896",
"ShortText": "Requested rate does not qualify. Rate with id 'TN24000002' already exists"
}]
}Last updated