Using this EndPoint you can delete an inventory type or service type resource that is associated to a task within a work order.

This action is only allowed within WOs in process or in review status.

EndPoint

https://app.fracttal.com/api/wo_resources/

DELETE Method

Input Parameters

Parameter

Field type

Required

Description

folio

Text

Yes

Id of the work order

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 the resource to be deleted:

Example Request (DELETE):

URL: https://app.fracttal.com/api/wo_resources/?folio=OT-1431&id_wo_task=1553&id_wo_resource=460&type=1

Example response:

Body:

{ 
"success": true,
"message": "200",
"data": [
{
"SUCCESS": "Resource deleted with success"
}
],
"total": 0
}

Did this answer your question?