put
https://app.fracttal.com/api/work_order_change_status/
With this API you can update the status of a Work Order.
The "wo_folio" parameter in the URL is the work order ID. It can be consulted here. (folio field)
Body Parameters
The following information must be sent in the request body.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id_status_work_order | Integer | Yes | Work order status. Available values are: In progress, Review |
| user_code | Text | Yes | This is the code of the human resource with account that is updating the status. It can be consulted here. |
Available Status Values:
- In progress
- Review
Output Parameters
| Parameter | Type | Description |
|---|---|---|
| wo_folio | Text | Work Order ID |
| id_status_work_order | Number | Work order status |
Example
Request: (PUT) https://app.fracttal.com/api/work_order_change_status/OT-2167
Body
{
"id_status_work_order": 2,
"user_code": "CATA01"
}Response
{
"wo_folio": "OT-2167",
"id_status_work_order": 2
}