Skip to main content
GET
/
job
/
{jobid}
Get job by ID
curl --request GET \
  --url https://jobaffinity.fr/restapi/v1/job/{jobid} \
  --header 'Authorization: Basic <encoded-value>'
{
  "_self": "<string>",
  "id": 123,
  "title": "<string>",
  "status": "DRAFT",
  "applications": {
    "_self": "<string>"
  },
  "_schema": "<string>",
  "_status": "OK",
  "reference": "<string>",
  "description": "<string>",
  "contract_type": {
    "name": "<string>",
    "abbreviation": "<string>"
  },
  "term": {
    "count": 123,
    "unit": "DAY"
  },
  "address": {
    "address": "<string>",
    "postalcode": "<string>",
    "town": "<string>",
    "country": "<string>"
  },
  "organisation": {
    "id": 123,
    "name": "<string>"
  },
  "process": {
    "_self": "<string>"
  },
  "team": {
    "_self": "<string>"
  }
}

Authorizations

Authorization
string
header
required

HTTP Basic Authentication with API credentials

Path Parameters

jobid
integer
required

Job ID

Response

Job details

_self
string<uri>

URL of the job resource

id
integer

Job identifier

title
string

Job title

status
enum<string>

Job status

Available options:
DRAFT,
PENDING_APPROVAL,
PUBLISHED,
CLOSED,
ARCHIVED
applications
object
_schema
string<uri>
_status
enum<string>
Available options:
OK,
INVALID
reference
string

Job reference code

description
string

Job description (HTML format)

contract_type
object
term
object
address
object
organisation
object
process
object
team
object