put https://app.fracttal.com/api/work_order_annotation/
This endpoint allows you to update the annotations associated with a Work Order (WO).
Annotations are usually information coming from external systems and are mainly used to link Work Orders with external records, working in a similar way to foreign keys.
Input parameters
Parameter | Type | Required | Description |
---|---|---|---|
folio | Text | Yes | Work order code |
property | Text | Yes | Property to update |
value | Text | Yes | Value to update |
Output parameters
Parameter | Type | Description |
---|---|---|
id | Integer | Work order ID |
wo_folio | Text | Work order code |
annotations | Json | Annotations |
Ejemplo:
Request: (PUT)https://app.fracttal.com/api/work_order_annotation/OT-29064
{
"property": "code_wo_related",
"value": "WO-48"
}
{
"success": true,
"message": "200",
"data": {
"id": 26836750,
"wo_folio": "OT-29064",
"annotations": {
"id_wo_related": "123",
"code_wo_related": "WO-48"
}
},
"total": 1
}