Adjust timer
Jobs
PUT adjust timer(admin)
Endpoint
PUT /api/v1/jobs/adjust_timer
Parameters
Name | Description | Type | Items |
---|---|---|---|
job[job_ids] required | Job ids | array | {"type"=>"integer"} |
job[timer] required | Timer | integer |
Request
Route
PUT /api/v1/jobs/adjust_timer
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNDM4Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzM3NTUxNTgzLCJleHAiOjE3NDAxNDM1ODMsImp0aSI6ImMwY2RkMDFiLWM2ODAtNDQzYi1hNjQ4LWFhMTQzMmFmODdlYyJ9.pH6YjS_6PnVZPhNEnHWPJv2jAkdnNk5aUwqIXGHXu0E
Host: example.org
Cookie:
Body
{
"job": {
"job_ids": [
534,
535
],
"timer": 90400
}
}
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: 2
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"71c49b7865837301f0caeeebbcf45e0f"
cache-control: max-age=0, private, must-revalidate
x-request-id: bbdc1829-a774-48fc-b507-65fcfe7a6511
x-runtime: 0.017619
content-length: 380
Body
{
"jobs": [
{
"id": 534,
"industries": [
"tourism",
"coach"
],
"job_type": "part_time",
"number": 68116301,
"postcode": "BS1 1AA",
"published_at": "2025-01-22T12:13:03.490Z",
"title": "Regional Design Executive"
},
{
"id": 535,
"industries": [
"tourism",
"school"
],
"job_type": "temporary_contract",
"number": 1016101,
"postcode": "L1 1AA",
"published_at": "2025-01-22T12:13:03.496Z",
"title": "Accounting Designer"
}
]
}