Metadata

This endpoint is only available for admins or operators

GET drivers

Endpoint

GET /api/v1/metadata/drivers

Parameters

Name Description
by_name Filter drivers by name
by_company Filter drivers by company
by_job_number Filter drivers by job number
by_job Filter drivers by job ID
from_date Filter by registration date
to_date Filter by registration date

Request

Route

GET /api/v1/metadata/drivers

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNDkxIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzYwOTUwNDY4LCJleHAiOjE3NjM1NDI0NjgsImp0aSI6IjU5ODIzZmEwLTBlYmQtNGJhZi05MGVmLTYzOTdhYzZkNDdkNyJ9.fA0QgIt0YKlqFvnKnPaLyRXLB5PuUXj-ut0dTBhw8QI
Host: example.org
Cookie: 

Body

{
}

Response

Simulated Response

Status

200

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"3e7dec453caa6546a3746d6dbe23f924"
cache-control: max-age=0, private, must-revalidate
x-request-id: 6d083b05-f381-44cd-8b4f-cfc938769ccd
x-runtime: 0.007336
content-length: 279

Body

{
  "drivers": [
    {
      "id": 1490,
      "admin": false,
      "image": null,
      "referral_code": "731342",
      "title": "Deetta Rodriguez"
    },
    {
      "id": 1488,
      "admin": false,
      "image": null,
      "referral_code": "397947",
      "title": "Donn Bergstrom"
    },
    {
      "id": 1489,
      "admin": false,
      "image": null,
      "referral_code": "537449",
      "title": "Fred Hessel"
    }
  ]
}