Breadcrumb
- Hotel Availability
- Request
- Use Cases
- Agent - Booker, Travel Agency (IATA)
Agent - Booker, Travel Agency (IATA)
Agent - Booker or Travel Agent specific rates
Unlock rates assigned to a Booker or Travel Agency.
Parameter | Description | Type |
---|---|---|
agentId | ID associated to an agent | String |
agentType | Agent Type Values: Booker or IATA | String |
Response Parameters
Parameter | Description | Type |
---|---|---|
Rate/@Code | Rate code associated to the accessCode | String |
Ref | Indicates the access code type. Values: AccessCode, AccessGeoLocation, Agent, ChannelizedRateAccessCode, Corporate, Group, Loyalty, Rate, RateClass, RateFilter, Room, RoomFeature, Template, Unknown | String |
RefValue | Access code value. | String |
Samples Request
Request for rates assigned to a Booker profile by a unique ID
/v1/api/hotel/availability?hotelId=13098&chainId=12723&adults=2&startDate=2022-08-29&endDate=2022-08-31&numRooms=1&primaryChannel=WEB&secondaryChannel=WEB&agentId=112413B0-1C0B-42A9-B677-72CE18F05E35&agentType=Booker
Request for rates assigned to a Travel Agent
/v1/api/hotel/availability?hotelId=13098&chainId=12723&adults=2&startDate=2022-08-29&endDate=2022-08-31&numRooms=1&primaryChannel=WEB&secondaryChannel=WEB&agentId=05620860&agentType=IATA
Successful Response (partial)
A successful response will return a matching Rate/@Code and corresponding Ref and RefValue parameters.
{
"productAvailability": {
"Prices": [{
"Product": {
"Rate": {
"Code": "Corp1"
},
"Room": {
"Code": "SUPK"
},
"Ref": "Agent",
"RefValue": "05620860"
}
}],
"ProductResult": "Success"
}
}