API Endpoints
Fracttal →

Query task 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.

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_task_form_item_typeIntegerSubtask type
id_unitIntegerUnit ID
descriptionTextSubtask description
id_task_form_item_groupIntegerSubtask group ID
order_numberIntegerSubtask order
is_requiredBooleanTrue if required, false otherwise
iterationsTextIterations 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
}
Language