API Endpoints
Fracttal →

Delete a resource associated with a work order

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

ParameterTypeRequiredDescription
folioTextYesWork order ID
id_wo_taskIntegerYesId of the task where the resource to be deleted is located
id_wo_resourceIntegerYesId of the inventory type resource to be deleted
typeIntegerYesType 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

Language