get https://app.fracttal.com/api/tasks_resources_services
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.
Parameter | Type | Required | Description |
---|---|---|---|
id_task | Integer | Optional | Task ID |
start | Integer | Optional | Initial record number to be displayed by the query. |
limit | Integer | Optional | Final record number to be returned by the query. |
Output parameters
Parameter | Type | Description |
---|---|---|
id_task | Integer | Task ID |
id_service_type | Integer | Service ID |
qty | Integer | Quantity |
unit_cost | Integer | Costo unitario |
total_cost | Integer | Total cost |
order_number | Integer | Order |
note | Text | Note |
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
}