API Endpoints
Fracttal →

Query Human type resources of the tasks

By means of this API you can consult the list of human 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_hourly_rateIntegerId of human resources
descriptionTextInventory description
qtyIntegerQuantity
unit_costIntegerUnit cost
total_costIntegerTotal cost
order_numberIntegerOrder
noteTextNote

Example:

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

{
  "success": true,
  "message": "200",
  "data": [
     {
            "id": 175,
            "id_company": 914,
            "id_task": 395,
            "id_hourly_rate": 16,
            "description": "TECNICOS AUXILIARES",
            "qty": 10,
            "unit_cost": 15,
            "total_cost": 15,
            "order_number": 2,
            "note": null
        },
        {
            "id": 127,
            "id_company": 914,
            "id_task": 248,
            "id_hourly_rate": 8,
            "description": "ASEO Y LIMPIEZA",
            "qty": 3,
            "unit_cost": 2000,
            "total_cost": 2000,
            "order_number": 2,
            "note": null
        },
        {
            "id": 128,
            "id_company": 914,
            "id_task": 250,
            "id_hourly_rate": 8,
            "description": "ASEO Y LIMPIEZA",
            "qty": 1,
            "unit_cost": 2000,
            "total_cost": 2000,
            "order_number": 2,
            "note": null
        },
        {
            "id": 131,
            "id_company": 914,
            "id_task": 259,
            "id_hourly_rate": 1,
            "description": "TÉCNICO ESPECIALISTA MECÁNICO",
            "qty": 1,
            "unit_cost": 1500,
            "total_cost": 1500,
            "order_number": 2,
            "note": null
        }
  ],
  "total": 4
}
Language