List job drivers(to get not only accepted drivers)
Jobs > 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.eyJzdWIiOiIxMTYxIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzQyNDY0OTMyLCJleHAiOjE3NDUwNTY5MzIsImp0aSI6ImY5NmIyNTE2LTFlMWMtNDNlOC05ZTgwLWE5NDhiNzUzYWQxYSJ9.wHQAVv350LTIulRxgZKOjc0XxU_pSDxEGFK3U6q7q6A
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/"ec4089255133a907496fd92e55017d89"
cache-control: max-age=0, private, must-revalidate
x-request-id: ea2a11be-c488-48e4-b4c5-f7cb7cbe0bb5
x-runtime: 0.062790
content-length: 1794
Body
{
"job_drivers": [
{
"id": 335,
"created_at": "2025-03-20T10:02:12.612Z",
"driver": {
"id": 1162,
"first_name": "Jason",
"last_name": "Turner",
"profile": {
"id": 543,
"english_level": "beginner",
"licenses": [
"d",
"d1"
],
"postcode": "NG1 1AA",
"rating": {
"average": null,
"count": 0
}
},
"profile_id": 543,
"referral_code": "325961"
},
"ignore_reason": null,
"interviews": [
],
"kind": "accepted",
"kind_updated_by": null,
"updated_at": "2025-03-20T10:02:12.612Z",
"wage": {
"amount": "22.5",
"type": "fixed"
}
},
{
"id": 336,
"created_at": "2025-03-20T10:02:12.632Z",
"driver": {
"id": 1163,
"first_name": "Jone",
"last_name": "Skiles",
"profile": {
"id": 544,
"english_level": "intermediate",
"licenses": [
"b1",
"phv"
],
"postcode": "M1 1AE",
"rating": {
"average": null,
"count": 0
}
},
"profile_id": 544,
"referral_code": "757027"
},
"ignore_reason": null,
"interviews": [
],
"kind": "accepted",
"kind_updated_by": null,
"updated_at": "2025-03-20T10:02:12.632Z",
"wage": {
"amount": "45.0",
"type": "fixed"
}
},
{
"id": 337,
"created_at": "2025-03-20T10:02:12.654Z",
"driver": {
"id": 1164,
"first_name": "Albertina",
"last_name": "Schmitt",
"profile": {
"id": 545,
"english_level": "beginner",
"licenses": [
"b1",
"b"
],
"postcode": "M1 1AE",
"rating": {
"average": null,
"count": 0
}
},
"profile_id": 545,
"referral_code": "700154"
},
"ignore_reason": null,
"interviews": [
],
"kind": "accepted",
"kind_updated_by": null,
"updated_at": "2025-03-20T10:02:12.654Z",
"wage": {
"amount": "67.5",
"type": "fixed"
}
},
{
"id": 338,
"created_at": "2025-03-20T10:02:12.681Z",
"driver": {
"id": 1165,
"first_name": "Patsy",
"last_name": "Spencer",
"profile": {
"id": 546,
"english_level": "intermediate",
"licenses": [
"b1",
"d"
],
"postcode": "NG1 1AA",
"rating": {
"average": null,
"count": 0
}
},
"profile_id": 546,
"referral_code": "516530"
},
"ignore_reason": null,
"interviews": [
],
"kind": "accepted",
"kind_updated_by": null,
"updated_at": "2025-03-20T10:02:12.681Z",
"wage": {
"amount": "90.0",
"type": "fixed"
}
}
]
}