Update Job
PUT
/AtsJob/updateUpdates an existing job listing. Validation rules are identical to Create Job.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
jobId | long | required | Job ID. Must be > 0 |
title | string | required | Job title. Max 20 characters |
region | string | required | Job region/city |
description | string | required | Job description. Min 100 characters. Excess HTML tags are auto-removed |
address | string | optional | Street address |
salaryValue1 | decimal? | optional | Salary from. Integer, ≥ 0 |
salaryValue2 | decimal? | optional | Salary to. Integer, ≥ 0, must be ≥ salaryValue1 |
salaryRateId | sbyte? | optional | Salary rate (see Enums). Required if salaryValue1 is set |
jobType1 | int? | optional | Employment type (see Enums) |
jobType2 | int? | optional | Secondary employment type (see Enums) |
Errors
| Status | Description |
|---|---|
400 Bad Request | Validation error or subscription on approving |
403 Forbidden | Job does not belong to account |
Request
curl -X PUT https://ua.jooble.org/employer/api/v2/AtsJob/update \
-H "Content-Type: application/json" \
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIs..." \
-d '{
"jobId": 12345,
"title": "Senior Backend Dev",
"region": "Kyiv",
"address": "Khreshchatyk 22",
"salaryValue1": 3000,
"salaryValue2": 5000,
"salaryRateId": 1,
"description": "We are looking for a senior ASP.NET developer...",
"jobType1": 0
}'Response · 204 No Content
Empty response body on success.