Skip to main content

Agent - Booker, Travel Agency (IATA)

Agent - Booker or Travel Agent specific rates

Unlock rates assigned to a Booker or Travel Agency.

ParameterDescriptionType
agentIdID associated to an agentString
agentTypeAgent Type 
Values: Booker or IATA
String

 

Response Parameters

ParameterDescriptionType
Rate/@CodeRate code associated to the accessCodeString
RefIndicates the access code type. 
Values: AccessCode, AccessGeoLocation, Agent, ChannelizedRateAccessCode, Corporate, Group, Loyalty, Rate, RateClass, RateFilter, Room, RoomFeature, Template, Unknown
String
RefValueAccess 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"
    }
}