PUT /jobTypes/{jobTypeID}

Update details of an existing job type.

Path parameters

  • jobTypeID integer Required
application/json

Body Required

  • jobTypeID integer
  • name string
  • description string

Responses

  • 200

    Job type updated successfully

  • 404

    Job type not found

  • 500

    Internal server error

PUT /jobTypes/{jobTypeID}
curl \
 -X PUT http://api.example.com/jobTypes/{jobTypeID} \
 -H "Content-Type: application/json" \
 -d '{"jobTypeID":42,"name":"string","description":"string"}'
Request example
{
  "jobTypeID": 42,
  "name": "string",
  "description": "string"
}