get https://app.fracttal.com/api/tasks_subtasks
By means of this API you can consult the list of subtasks 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_form_item_type | Integer | Subtask type |
id_unit | Integer | Unit ID |
description | Text | Subtask description |
id_task_form_item_group | Integer | Subtask group ID |
order_number | Integer | Subtask order |
is_required | Boolean | True if required, false otherwise |
iterations | Text | Iterations to which this subtask belongs |
Example:
Request: (GET) https://app.fracttal.com/api/tasks_subtasks/
{
"success": true,
"message": "200",
"data": [
{
"id_task": 4184791,
"id_task_form_item_type": 8,
"id_unit": null,
"description": "FECHA Y HORA DE LLEGADA A TERRENO ",
"id_task_form_item_group": 42390,
"order_number": 1,
"is_required": true,
"iterations": null,
"id_company": 3065
},
{
"id_task": 4184791,
"id_task_form_item_type": 1,
"id_unit": null,
"description": "TIPO DE LA INCIDENCIA",
"id_task_form_item_group": null,
"order_number": 2,
"is_required": true,
"iterations": null,
"id_company": 3065
},
{
"id_task": 4184791,
"id_task_form_item_type": 1,
"id_unit": null,
"description": "CAUSA DE LA INCIDENCIA",
"id_task_form_item_group": null,
"order_number": 3,
"is_required": true,
"iterations": null,
"id_company": 3065
},
{
"id_task": 4184791,
"id_task_form_item_type": 1,
"id_unit": null,
"description": "DESCRIPCION DEL SUCESO\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n",
"id_task_form_item_group": null,
"order_number": 4,
"is_required": true,
"iterations": null,
"id_company": 3065
},
{
"id_task": 4184791,
"id_task_form_item_type": 1,
"id_unit": null,
"description": "SOLUCION ADOPTADA\t\t\t\t\t\t\n\t\t\t\t\t\t\n",
"id_task_form_item_group": null,
"order_number": 5,
"is_required": true,
"iterations": null,
"id_company": 3065
},
{
"id_task": 4184791,
"id_task_form_item_type": 1,
"id_unit": null,
"description": "REPUESTO/PIEZA SUSTITUIDA\t\t\t\t\t\t\n\t\t\t\t\t\t\n",
"id_task_form_item_group": null,
"order_number": 6,
"is_required": true,
"iterations": null,
"id_company": 3065
},
{
"id_task": 4184791,
"id_task_form_item_type": 1,
"id_unit": null,
"description": " NUMERO DE PARTES O NUMERO DE SERIE \t\t\t\t\t\t\n\t\t\t\t\t\t\n",
"id_task_form_item_group": null,
"order_number": 7,
"is_required": true,
"iterations": null,
"id_company": 3065
},
{
"id_task": 4184791,
"id_task_form_item_type": 1,
"id_unit": null,
"description": "OBSERVACIONES GENERALES:",
"id_task_form_item_group": null,
"order_number": 8,
"is_required": true,
"iterations": null,
"id_company": 3065
},
{
"id_task": 3762371,
"id_task_form_item_type": 1,
"id_unit": null,
"description": "TIPO DE LA INCIDENCIA",
"id_task_form_item_group": null,
"order_number": 1,
"is_required": true,
"iterations": null,
"id_company": 3065
}]
"total": 9
}