Using this API you can query the list of task plans with their associated tasks, and in turn the following task information is displayed:
Subtasks
Inventory type resources
Service type resources
Inhouse Personnel type resources
Method GET
EndPoint
https://app.fracttal.com/api/groups_tasks_details/
Input Parameters
The following input parameters are optional, which are used to perform query pagination. By default Fracttal API returns only 100 records.
Parameter | Field type | Required | Description |
start | Integer | Optional | Initial record number to be displayed by the query. |
limit | Integer | Optional | Final record number that the query will return. |
Output parameters
Parameter | Field type | Description |
description | Text | Task list description |
parent_description | Text | Task list location |
task_description | Text | Task description |
task_form_items | json | List of subtasks |
tasks_items_resources | json | List of inventory type resources |
tasks_services_resources | json | List of service type resources |
tasks_human_resources | json | List of inhouse personnel |
tasks_triggers | json | List of trigger types |
Example:
Request: https://app.fracttal.com/api/groups_tasks_details/
Example Response:
{
"success": true,
"message": "200",
"data": [
{
"id": 472,
"id_company": 133,
"description": " HEATING MAINTENANCE ",
"id_location": null,
"parent_description": "// ",
"task_number": 22,
"assets_number": 5,
"id_task": 3323,
"task_description": " Bathroom Cleaning ",
"task_is_active": true,
"tasks_id_priorities": 3,
"tasks_id_task_type_main": 107,
"tasks_id_task_type": null,
"tasks_id_task_type_2": null,
"tasks_duration": 2400,
"task_form_items": [
{
"id_task_form_item_type": 6,
"id_unit": null,
"description": "Cleaning 1",
"id_task_form_item_group": null,
"order_number": 1,
"is_required": true,
"iterations": {
"iteration_1": true,
"iteration_2": true,
"iteration_3": true,
"iteration_4": true,
"iteration_5": true
}
},
{
"id_task_form_item_type": 6,
"id_unit": null,
"description": " Cleaning 2",
"id_task_form_item_group": null,
"order_number": 2,
"is_required": true,
"iterations": {
"iteration_1": true,
"iteration_2": true,
"iteration_3": true,
"iteration_4": true,
"iteration_5": true
}
},
{
"id_task_form_item_type": 6,
"id_unit": null,
"description": " Cleaning 3",
"id_task_form_item_group": null,
"order_number": 3,
"is_required": true,
"iterations": {
"iteration_1": true,
"iteration_2": true,
"iteration_3": true,
"iteration_4": true,
"iteration_5": true
}
},
{
"id_task_form_item_type": 6,
"id_unit": null,
"description": "Cleaning 4",
"id_task_form_item_group": null,
"order_number": 4,
"is_required": true,
"iterations": {
"iteration_1": true,
"iteration_2": true,
"iteration_3": true,
"iteration_4": true,
"iteration_5": true
}
}
],
"tasks_items_resources": [
{
"id_item": 36697,
"description": "{ RP001477 } COTTON DAMP MOP 16 OZ ",
"qty": 1,
"unit_cost": 0,
"total_cost": 0,
"units_description": null
},
{
"id_item": 21817,
"description": " AMMONIAC ",
"qty": 2,
"unit_cost": 0,
"total_cost": 0,
"units_description": null
},
{
"id_item": 20181,
"description": " LIQUID SOAP ",
"qty": 2,
"unit_cost": 0,
"total_cost": 0,
"units_description": null
},
{
"id_item": 22506,
"description": " PLASTIC CONCRETE BUCKET ",
"qty": 1,
"unit_cost": 0,
"total_cost": 0,
"units_description": null
},
{
"id_item": 36697,
"description": "{ RP001477 } WET MOP COTTON 16 OZ ",
"qty": 1,
"unit_cost": 0,
"total_cost": 0,
"units_description": null
},
{
"id_item": 20071,
"description": "Paper Towel ",
"qty": 1,
"unit_cost": 0,
"total_cost": 0,
"units_description": null
},
{
"id_item": 30752,
"description": "LIMP-PAÑO-MICRO ",
"qty": 1,
"unit_cost": 3.99,
"total_cost": 3.99,
"units_description": “PIECE"
}
],
"tasks_services_resources": [
{
"id_service_type": 10,
"description": " CLEANING SERVICE ",
"qty": 1,
"unit_cost": 5.67,
"total_cost": 5.67,
"units_description": "SERVICE"
},
{
"id_service_type": 10,
"description": " CLEANING SERVICE ",
"qty": 1,
"unit_cost": 5.67,
"total_cost": 5.67,
"units_description": " SERVICE "
},
{
"id_service_type": 10,
"description": " CLEANING SERVICE ",
"qty": 1,
"unit_cost": 5.67,
"total_cost": 5.67,
"units_description": " SERVICE "
}
],
"tasks_human_resources": null,
"tasks_triggers": [
{
"id_task_trigger_type": 1,
"value_main": 1,
"value_end": null,
"fixed": false,
"task_trigger_type_description": "DATE",
"trigger_replay_description": "ALWAYS",
"period_date_description": "DAYS",
"unit_description": null,
"unit_operator": null,
"event_description": null,
"monthly_average_data": 2
},
{
"id_task_trigger_type": 4,
"value_main": null,
"value_end": null,
"fixed": false,
"task_trigger_type_description": "EVENT",
"trigger_replay_description": null,
"period_date_description": null,
"unit_description": null,
"unit_operator": null,
"event_description": " On request ",
"monthly_average_data": 2
}
]
}],
"total": 1
}