Fracttal →

Query service type resources of the tasks

By means of this API you can consult the list of service type resources associated with the different tasks created in your company.

Input parameters

The following input parameters are optional, which are used to perform the pagination and filters to the query. By default Fracttal API returns only 100 records.

ParameterTypeRequiredDescription
id_taskIntegerOptionalTask ID
startIntegerOptionalInitial record number to be displayed by the query.
limitIntegerOptionalFinal record number to be returned by the query.

Output parameters

ParameterTypeDescription
id_taskIntegerTask ID
id_service_typeIntegerService ID
qtyIntegerQuantity
unit_costIntegerCosto unitario
total_costIntegerTotal cost
order_numberIntegerOrder
noteTextNote

Example:

Request: (GET) https://app.fracttal.com/api/tasks_resources_services/

{
  "success": true,
  "message": "200",
  "data": [
     {
            "id": 6,
            "id_company": 914,
            "id_task": 42,
            "id_service_type": 3,
            "qty": 1,
            "unit_cost": 801500,
            "total_cost": 801500,
            "order_number": 4,
            "iterations": {},
            "note": null
        },
        {
            "id": 29,
            "id_company": 914,
            "id_task": 105,
            "id_service_type": 8,
            "qty": 1,
            "unit_cost": 1500,
            "total_cost": 1500,
            "order_number": 5,
            "iterations": {},
            "note": null
        },
        {
            "id": 24,
            "id_company": 914,
            "id_task": 44,
            "id_service_type": 11,
            "qty": 1,
            "unit_cost": null,
            "total_cost": 0,
            "order_number": 6,
            "iterations": {},
            "note": null
        },
        {
            "id": 16271,
            "id_company": 914,
            "id_task": 1123959,
            "id_service_type": 1369,
            "qty": 1,
            "unit_cost": 300,
            "total_cost": 300,
            "order_number": 2,
            "iterations": {},
            "note": null
        }
  ],
  "total": 4
}
Language