Jobs > Drivers

List job drivers(to get not only accepted drivers)

GET job drivers(job post)

Endpoint

GET /api/v1/job_posts/:id/job_drivers

Parameters

Name Description
page Page number
per_page Number of items per page

Request

Route

GET /api/v1/job_posts/324/job_drivers

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMTU3Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzM3NTUxNTc3LCJleHAiOjE3NDAxNDM1NzcsImp0aSI6ImRmZDEyNGRhLTJhZTEtNGM5NC04NjViLTE1ZWUyODYzNWU1NiJ9.AZTpLJ6YR_0c3Lm17G1vaE_sSk2mhBGrVhXitYBQRJE
Host: example.org
Cookie: 

Query Parameters

{}=

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
per-page: 20
total: 4
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"566e515e85f32168b896ec8fd815563b"
cache-control: max-age=0, private, must-revalidate
x-request-id: 3c4a0c8e-577a-4aab-9376-0b5d68066d54
x-runtime: 0.037068
content-length: 1796

Body

{
  "job_drivers": [
    {
      "id": 338,
      "created_at": "2025-01-22T13:12:56.974Z",
      "driver": {
        "id": 1158,
        "first_name": "Hannelore",
        "last_name": "Kuhn",
        "profile": {
          "id": 544,
          "english_level": "proficient",
          "licenses": [
            "c",
            "c1"
          ],
          "postcode": "LS1 1UR",
          "rating": {
            "average": null,
            "count": 0
          }
        },
        "profile_id": 544,
        "referral_code": "370000"
      },
      "ignore_reason": null,
      "interviews": [

      ],
      "kind": "accepted",
      "kind_updated_by": null,
      "updated_at": "2025-01-22T13:12:56.974Z",
      "wage": {
        "amount": "22.5",
        "type": "fixed"
      }
    },
    {
      "id": 339,
      "created_at": "2025-01-22T13:12:56.990Z",
      "driver": {
        "id": 1159,
        "first_name": "Nannie",
        "last_name": "Kunde",
        "profile": {
          "id": 545,
          "english_level": "intermediate",
          "licenses": [
            "ce",
            "d1"
          ],
          "postcode": "L1 1AA",
          "rating": {
            "average": null,
            "count": 0
          }
        },
        "profile_id": 545,
        "referral_code": "507226"
      },
      "ignore_reason": null,
      "interviews": [

      ],
      "kind": "accepted",
      "kind_updated_by": null,
      "updated_at": "2025-01-22T13:12:56.990Z",
      "wage": {
        "amount": "45.0",
        "type": "fixed"
      }
    },
    {
      "id": 340,
      "created_at": "2025-01-22T13:12:57.028Z",
      "driver": {
        "id": 1160,
        "first_name": "Lonny",
        "last_name": "Romaguera",
        "profile": {
          "id": 546,
          "english_level": "beginner",
          "licenses": [
            "c1",
            "c"
          ],
          "postcode": "L1 1AA",
          "rating": {
            "average": null,
            "count": 0
          }
        },
        "profile_id": 546,
        "referral_code": "073420"
      },
      "ignore_reason": null,
      "interviews": [

      ],
      "kind": "accepted",
      "kind_updated_by": null,
      "updated_at": "2025-01-22T13:12:57.028Z",
      "wage": {
        "amount": "67.5",
        "type": "fixed"
      }
    },
    {
      "id": 341,
      "created_at": "2025-01-22T13:12:57.048Z",
      "driver": {
        "id": 1161,
        "first_name": "Susannah",
        "last_name": "Reinger",
        "profile": {
          "id": 547,
          "english_level": "advanced",
          "licenses": [
            "d",
            "hiab"
          ],
          "postcode": "L1 1AA",
          "rating": {
            "average": null,
            "count": 0
          }
        },
        "profile_id": 547,
        "referral_code": "244039"
      },
      "ignore_reason": null,
      "interviews": [

      ],
      "kind": "accepted",
      "kind_updated_by": null,
      "updated_at": "2025-01-22T13:12:57.048Z",
      "wage": {
        "amount": "90.0",
        "type": "fixed"
      }
    }
  ]
}