TransferTypes

This method is used to obtain a MASTER TRANSFERTYPES portfolio.

Master TransferTypes Request

Endpoint

GET https://api.test.hotelbeds.com/transfer-cache-api/1.0/transferTypes?fields= {{FIELDS}} &language= {{LANG}} &codes= {{CODES}} &offset= {{OFFSET}} &limit= {{LIMIT}}
TIMEOUT: 60 seconds

 

Request parameters

Name Type Description
fields String Comma separated list of response fields to return (mandatory)
language String ISO 639-1 (2 digit) Language code (mandatory)
codes String Comma separated list of Master Types codes (optional)
offset int it's the position in the dataset of a particular record. By specifying offset, you retrieve a subset of records starting with the offset value (optional)
limit int allows you to set the number of objects returned in one page (optional)

Request Example

https://api.test.hotelbeds.com/transfer-cache-api/1.0/masters/transferTypes?fields=ALL&language=en&codes=PRVT

 

Master TransferTypes Response

The response of Categories provides information of the vehicle categories used by the transfers

Response Parameters

Name Type Description
code String Master type code
name String Master Type Name
description String Description of the master type

Response JSON Example

[
    {
        "code": "PRVT",
        "name": "Private",
        "description": "Private hire with driver"
    }
]

Docs Navigation