Skip to main content

GET /truck_passes/1.0.0/global

OpenAPI Specification

2GIS Navigation API (6.0.0)

Pass for a truck

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.

Response samples

Content type
application/json
[
  • {
    • "id": 0,
    • "names": [
      ],
    • "pass_zone_ids": [
      ]
    }
]