Geo API (3.0)
/hierarchy/flights
Authorizations:
path Parameters
| locale required | string Locale of the request. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
- 500
- 503
- default
Content type
application/json
{- "status": "RESULT_STATUS_UNSPECIFIED",
- "places": {
- "property1": {
- "entityId": "string",
- "parentId": "string",
- "name": "string",
- "type": "PLACE_TYPE_UNSPECIFIED",
- "iata": "string",
- "coordinates": {
- "latitude": 0,
- "longitude": 0
}
}, - "property2": {
- "entityId": "string",
- "parentId": "string",
- "name": "string",
- "type": "PLACE_TYPE_UNSPECIFIED",
- "iata": "string",
- "coordinates": {
- "latitude": 0,
- "longitude": 0
}
}
}
}/hierarchy/flights/nearest
Authorizations:
Request Body schema: application/json
object (typesLocator) Specifies type of locator. Choose one locator between using coordinates or ip address. | |
| locale | string Locale to return the map of places in. |
Responses
Request samples
- Payload
Content type
application/json
{- "locator": {
- "coordinates": {
- "latitude": 0,
- "longitude": 0
}, - "ipAddress": "string"
}, - "locale": "string"
}Response samples
- 200
- 400
- 401
- 403
- 404
- 429
- 500
- 503
- default
Content type
application/json
{- "status": "RESULT_STATUS_UNSPECIFIED",
- "places": {
- "property1": {
- "entityId": "string",
- "parentId": "string",
- "name": "string",
- "type": "PLACE_TYPE_UNSPECIFIED",
- "iata": "string",
- "coordinates": {
- "latitude": 0,
- "longitude": 0
}
}, - "property2": {
- "entityId": "string",
- "parentId": "string",
- "name": "string",
- "type": "PLACE_TYPE_UNSPECIFIED",
- "iata": "string",
- "coordinates": {
- "latitude": 0,
- "longitude": 0
}
}
}
}