Update the status of a work order

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.

ParameterTypeRequiredDescription
id_status_work_orderIntegerYesWork order status. Available values are: In progress, Review
user_codeTextYesThis 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

ParameterTypeDescription
wo_folioTextWork Order ID
id_status_work_orderNumberWork 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
}
Language