Place a Work Order On Hold or Resume
Endpoints Used
- PUT
/work-orders/{workorder_Id}
- This endpoint updates the work order.
Prerequisites to Place a Work Order On Hold or Resume
- The work order identifier that is getting placed on hold.
- The system will require who is placing the work order on hold.
- 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
- Get the work order identifier that you want to place on hold.
- To place a work order on hold do a put request to the work orders end point as shown in the Endpoints Used section.
- 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" } }
- Example JSON request
- To resume a work order on hold do a put request to the work orders end point as shown in the Endpoints Used section.
- 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" } }
- Example JSON request
- The response returned will contain the work order after the Update.