Jobs

Create job

POST create job

Endpoint

POST /api/v1/jobs

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

POST /api/v1/jobs

Headers

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

Body

{
  "job": {
    "show_by": "minimum_hours",
    "expected_weekly_hours": 18,
    "title": "National Manufacturing Representative",
    "description": "Quia suppono qui. Repellendus ventus totidem.",
    "postcode": "BS1 1AA",
    "industries": [
      "tourism",
      "courier"
    ],
    "drivers_required": 8,
    "start_date": "2025-01-23",
    "end_date": "2025-03-17",
    "min_rating": 4.4,
    "licenses": [
      "c",
      "d"
    ],
    "job_type": "fixed_term_contract",
    "status": "published",
    "published_at": "2025-01-22T12:12:59.940Z",
    "wages_attributes": {
      "0": {
        "kind": "bank_holiday",
        "rate": 39.54
      }
    }
  }
}

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/"db15628d507abb22146194ddd48e5918"
cache-control: max-age=0, private, must-revalidate
x-request-id: 53eb57d1-94d6-4ed8-9b25-afb236f0347d
x-runtime: 0.017157
content-length: 663

Body

{
  "job": {
    "id": 437,
    "chat": null,
    "dbs_check": "no",
    "dbs_last_performed_months": null,
    "description": "Quia suppono qui. Repellendus ventus totidem.",
    "drivers_required": 8,
    "end_date": "2025-03-17",
    "expected_weekly_hours": 18,
    "hours_from": null,
    "hours_to": null,
    "industries": [
      "tourism",
      "courier"
    ],
    "inexperienced_drivers": false,
    "job_type": "fixed_term_contract",
    "licenses": [
      "c",
      "d"
    ],
    "min_rating": "4.4",
    "number": 97601065,
    "overtime_rate": null,
    "postcode": "BS1 1AA",
    "published_at": null,
    "show_by": "minimum_hours",
    "start_date": "2025-01-23",
    "status": "draft",
    "title": "National Manufacturing Representative",
    "wages": [
      {
        "id": 737,
        "kind": "bank_holiday",
        "rate": "39.54"
      }
    ],
    "young_drivers": false
  }
}