GET /truck_passes/1.0.0/global
OpenAPI Specification
2GIS Navigation API (6.0.0)
Get list of all available passes for a truck
Get list of all available passes for a truck
query Parameters
key required | string Developer API key |
Responses
Response Schema: application/json
Array
id required | integer Identifier of a pass. |
required | Array of objects (TruckPassName) |
pass_zone_ids required | Array of integers Identifiers of a pass zones. |
http://routing.api.2gis.com/truck_passes/1.0.0/global
https://routing.api.2gis.com/truck_passes/1.0.0/global
Response samples
- 200
Content type
application/json
[- {
- "id": 0,
- "names": [
- {
- "localization": "en",
- "name": "string"
}
], - "pass_zone_ids": [
- 0
]
}
]