Documentation

Transfer Types

This method is used to obtain a Transfer Types portfolio.

Master TransferTypes Request

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

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

Master Transfer Types 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 Example

[
    {
        "code": "PRVT",
        "name": "Private",
        "description": "Private hire with driver"
    },
    {
        "code": "SHRD",
        "name": "Shared - Shuttle",
        "description": "With other passengers"
    },
    {
        "code": "SHTL",
        "name": "Shuttle",
        "description": "Predefined frequency and routes"
    }
]