This method is used to obtain a TERMINALS portfolio.
| 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 terminal 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) |
https://api.hotelbeds.com/transfer-cache-api/1.0/locations/terminals?fields=ALL&language=es&codes=MAD,BCN,PMI
The response of Terminals provides information of the available Terminals.
| Name | Type | Description |
| code | String | Destination code (Atlas code) |
| content | Element | Information of the terminal |
| content/type | String | Single character code that identifies the type of terminal |
| content/description | String | Description or name of the terminal |
| countryCode | String | ISO 3166 (2 digit) country code (optional) |
| coordinates | Element | latitude & longitude coordinates for the hotel |
| coordinates/latitude | Float | Latitude data for geolocation |
| coordinates/longitude | Float | Longitude data for geolocation |
| language | String | Language code |
[
{
"code": "BCN",
"content": {
"type": "A",
"description": "Barcelona, Aeropuerto El Prat"
},
"countryCode": "ES",
"coordinates": {
"latitude": 41.297475,
"longitude": 2.083318
},
"language": "CAS"
},
{
"code": "MAD",
"content": {
"type": "A",
"description": "Madrid, Aeropuerto Adolfo Suárez Madrid-Barajas"
},
"countryCode": "ES",
"coordinates": {
"latitude": 40.49027,
"longitude": -3.564479
},
"language": "CAS"
},
{
"code": "PMI",
"content": {
"type": "A",
"description": "Palma De Mallorca, Aeropuerto De Son Sant Joan"
},
"countryCode": "ES",
"coordinates": {
"latitude": 39.547654,
"longitude": 2.730388
},
"language": "CAS"
}
]