Update several work orders at once

Applies the same crew, status or scheduled date to several work orders in one request. Pass the IDs in work_order_ids and at least one of crew_id, status and scheduled_date at the top level of the body (not inside a work_order object).

  • Each work order is saved separately, so the usual booking rules still apply. A work order that fails validation is left unchanged and listed in conflicts with the reason; the others are still updated.
  • IDs the token's role cannot see are skipped.
  • If none of the three fields is given, the request returns 422 and nothing changes.
  • The token's role must have the Work production jobs permission, and the token needs the write scope.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
work_order_ids
array of strings
required
work_order_ids*
string
string
date
Responses
200

The update ran; updated_count is how many work orders changed and conflicts lists any that could not be updated.

422

No field to change was given; error explains.

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here!