PUT /jobs

Update details of an existing job including its job line items.

Query parameters

  • jobID integer Required

    Unique identifier of the job to update.

application/json

Body Required

  • jobID integer
  • jobTitle string
  • jobDescription string
  • scheduleLater boolean
  • Rrule string
  • companyID integer
  • propertyID integer
  • jobStatusID integer
  • clientID integer
  • jobTypeID integer
  • createdBy integer
  • updatedBy integer

Responses

  • 200 application/json

    Job updated successfully.

    Hide response attributes Show response attributes object
    • jobID integer
    • jobTitle string
    • jobDescription string
    • scheduleLater boolean
    • Rrule string
    • companyID integer
    • propertyID integer
    • jobStatusID integer
    • clientID integer
    • jobTypeID integer
    • createdBy integer
    • updatedBy integer
  • 400

    Invalid job ID provided.

  • 404

    Job not found.

  • 500

    An error occurred while updating the job.

PUT /jobs
curl \
 -X PUT http://api.example.com/jobs?jobID=42 \
 -H "Content-Type: application/json" \
 -d '{"jobID":42,"jobTitle":"string","jobDescription":"string","scheduleLater":true,"Rrule":"string","companyID":42,"propertyID":42,"jobStatusID":42,"clientID":42,"jobTypeID":42,"createdBy":42,"updatedBy":42}'
Request example
{
  "jobID": 42,
  "jobTitle": "string",
  "jobDescription": "string",
  "scheduleLater": true,
  "Rrule": "string",
  "companyID": 42,
  "propertyID": 42,
  "jobStatusID": 42,
  "clientID": 42,
  "jobTypeID": 42,
  "createdBy": 42,
  "updatedBy": 42
}
Response examples (200)
{
  "jobID": 42,
  "jobTitle": "string",
  "jobDescription": "string",
  "scheduleLater": true,
  "Rrule": "string",
  "companyID": 42,
  "propertyID": 42,
  "jobStatusID": 42,
  "clientID": 42,
  "jobTypeID": 42,
  "createdBy": 42,
  "updatedBy": 42
}