delete https://app.fracttal.com/api/wo_resources
This EndPoint can be used to delete an inventory or service type resource that is associated to a task within a work order.
This action is only allowed within TOs in process or revision status.
Input parameters
Parameter | Type | Required | Description |
---|---|---|---|
folio | Text | Yes | Work order ID |
id_wo_task | Integer | Yes | Id of the task where the resource to be deleted is located |
id_wo_resource | Integer | Yes | Id of the inventory type resource to be deleted |
type | Integer | Yes | Type of resource to be deleted: 1 = Inventory type 3 = Service type Default is 1 (inventory type) |
Example:
Request: (DELETE) https://app.fracttal.com/api/wo_resources/?folio=OT-1431&id_wo_task=1553&id_wo_resource=460&type=1
{
"success": true,
"message": "200",
"data": [
{
"SUCCESS": "Resource deleted with success"
}
],
"total": 0
}
Test It