Update job
Jobs
PUT update job
Endpoint
PUT /api/v1/jobs/:id
Parameters
Name | Description |
---|---|
job[title] required | Job title |
job[drivers_required] required | Job drivers required |
job[industries] required | Job industries |
job[start_date] required | Job start date |
job[end_date] | Job end date |
job[ongoing] | Job ongoing |
job[postcode] required | Job postcode |
job[description] required | Job description |
job[licenses] required | Job licenses |
job[min_rating] required | Job min rating |
job[young_drivers] | Job young drivers |
job[inexperienced_drivers] | Job inexperienced drivers |
job[job_type] required | Job job type |
job[show_by] required | Job show by |
job[expected_weekly_hours] | Job expected weekly hours |
job[hours_from] | Job hours from |
job[hours_to] | Job hours to |
job[wages_attributes] required | Job wages attributes |
job[overtime_after] | Job overtime after |
job[overtime_rate] | Job overtime rate |
job[dbs_check] | Job dbs check |
job[dbs_last_performed_months] | Job dbs last performed months |
Request
Route
PUT /api/v1/jobs/440
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMjc5Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzM3NTUxNTgwLCJleHAiOjE3NDAxNDM1ODAsImp0aSI6ImNjMjc4NjQyLWFmMDgtNDgyYi1hYmEwLTY3YzM1ZTA1Nzc0YSJ9.1laHriMHWd-3BGjfDSw4Fafi_bBD_XWs7z_WE6upiJ0
Host: example.org
Cookie:
Body
{
"job": {
"id": 440,
"number": 85887441,
"title": "Administration Executive",
"description": "Dolores praesentium virgo. Admitto deinde sonitus.",
"postcode": "NG1 1AA",
"industries": [
"van",
"hgv"
],
"drivers_required": 1,
"start_date": "2025-01-23",
"end_date": "2025-08-26",
"job_type": "temporary_contract",
"show_by": "range_of_hours",
"expected_weekly_hours": 40,
"hours_from": 10,
"hours_to": 20,
"licenses": [
"c",
"d"
],
"status": "draft",
"published_at": "2025-01-22T12:13:00.178Z",
"longitude": -74.0059731,
"latitude": 40.7143528,
"created_at": "2025-01-22T13:13:00.179Z",
"updated_at": "2025-01-22T13:13:00.179Z",
"company_id": 457,
"min_rating": "3.3",
"min_rate": "65.59",
"region": null,
"young_drivers": false,
"inexperienced_drivers": false,
"overtime_after": null,
"overtime_rate": null,
"discarded_at": null,
"dbs_check": "no",
"dbs_last_performed_months": null,
"timer": 86400,
"webflow_id": null,
"wages_attributes": {
"740": {
"id": 740,
"kind": "saturday",
"rate": "65.59",
"created_at": "2025-01-22T13:13:00.181Z",
"updated_at": "2025-01-22T13:13:00.181Z",
"wageable_type": "Job",
"wageable_id": 440
}
}
}
}
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/"240c52e025f4eb6b42572bf855d926e0"
cache-control: max-age=0, private, must-revalidate
x-request-id: fca586ab-7d75-45d1-b396-c97c9aa1cffd
x-runtime: 0.015500
content-length: 663
Body
{
"job": {
"id": 440,
"chat": null,
"dbs_check": "no",
"dbs_last_performed_months": null,
"description": "Dolores praesentium virgo. Admitto deinde sonitus.",
"drivers_required": 1,
"end_date": "2025-08-26",
"expected_weekly_hours": null,
"hours_from": 10,
"hours_to": 20,
"industries": [
"van",
"hgv"
],
"inexperienced_drivers": false,
"job_type": "temporary_contract",
"licenses": [
"c",
"d"
],
"min_rating": "3.3",
"number": 85887441,
"overtime_rate": null,
"postcode": "NG1 1AA",
"published_at": "2025-01-22T12:13:00.178Z",
"show_by": "range_of_hours",
"start_date": "2025-01-23",
"status": "draft",
"title": "Administration Executive",
"wages": [
{
"id": 740,
"kind": "saturday",
"rate": "65.59"
}
],
"young_drivers": false
}
}