Use this endpoint to create a new Job Class.

Accepts a standard Job Class object with no read-only values specified.

If successful, the endpoint responds with HTTP Status Code 201 Created and a Job Class object with the integer ID of the created Job Class in the response body. It also sets the Location header to the location of the Job Class.

post/jobClasses

Request

  • Base URL
    https://api.securevan.com/v4
  • URL
    https://api.securevan.com/v4/jobClasses
  • Auth
    HTTP basic

Request body

namestring

Required; name for the Job Class

shortNamestring

Required; short name for the Job Class

Response

201

jobClassIdinteger
namestring
shortNamestring

Example response

{
  "jobClassId": 321,
  "name": "Fishmonger",
  "shortName": "FM"
}

Changes