Skip to content

Vehicle

Endpoints for managing vehicles.

Get cursor-based vehicle

Request

Retrieve vehicle in bulk using cursor-based paging (see the Cursor-based pagination documentation on the PTV Developer Portal).

Security
clientCredentials
Query
cursorstring

The cursor of the page to return. No cursor is expected for the initial request. The cursors returned by this endpoint can be used for subsequent requests.

limitinteger, [ 1 .. 1000 ]

Number of results to return per page.

Default:100
curl -i -X GET \
  'https://developer.conundra.eu/_mock/apis/vehicles/vehicle-api/vehicles?cursor=string&limit=100' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

The results for the current paged request and optional pointers to related result pages.

Bodyapplication/json
dataArray of objects(Vehicle)

The set of results for the current page.

cursorsobject(Cursors)

Pointer(s) to related result pages.

Response
{ "data": [ {} ], "cursors": { "next": "string" } }