patch
https://roofrabbit.io/work_orders/bulk_update
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
conflictswith 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
422and nothing changes. - The token's role must have the Work production jobs permission, and the token needs the
writescope.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
200The update ran; updated_count is how many work orders changed and conflicts lists any that could not be updated.
422No field to change was given; error explains.