Skip to content

Place a Work Order On Hold or Resume

Endpoints Used

  1. PUT /work-orders/{workorder_Id}
    1. This endpoint updates the work order.

Prerequisites to Place a Work Order On Hold or Resume

  1. The work order identifier that is getting placed on hold.
  2. The system will require who is placing the work order on hold.
  3. The system will require the company that is placing the work order on hold.

Goal

Placing a work order on hold and resume the work order.

Steps to Follow

  1. Get the work order identifier that you want to place on hold.
  2. To place a work order on hold do a put request to the work orders end point as shown in the Endpoints Used section.
    1. Example JSON request { "work_order": { "on_hold": "0", "modified_by_id": "925b820b-05f7-4d25-a1fc-6707737ebeb6", "modified_by_entity_id": "271be0cd-09cf-4472-8fdc-7e7cc0baa8c3" } }
  3. To resume a work order on hold do a put request to the work orders end point as shown in the Endpoints Used section.
    1. Example JSON request { "work_order": { "on_hold": "1", "modified_by_id": "925b820b-05f7-4d25-a1fc-6707737ebeb6", "modified_by_entity_id": "271be0cd-09cf-4472-8fdc-7e7cc0baa8c3" } }
  4. The response returned will contain the work order after the Update.