Fracttal →

Query task triggers

Through this API you can consult the list of triggers 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.
limitIntegerOptionalNúmero de registro final que retornará la consulta .

Output parameters

ParameterTypeDescription
idInteger
id_companyIntegerCompany ID
id_taskIntegerTask ID
id_task_trigger_typeIntegerId Tipo de activador.
1: Fecha,
2: Activador cuando,
3: activador cada ,
4 activador de eventos.
value_mainIntegerMake every
value_endIntegerTotal repetitions
fixedBooleanTrue for fixed programming or false otherwise.
id_replayIntegerFrequency Id
id_period_dateIntegerId Repetition (for or always)
id_unitInteger
id_unit_operatorInteger
id_eventIntegerEvent ID
task_trigger_type_descriptionTextActivator description
trigger_replay_descriptionTextDescription Repeat (for or always)
period_date_descriptionTextFrequency description
unit_descriptionText
unit_operatorText
event_descriptionTextDescription of the event
monthly_average_dataText

Example:

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

{
    "success": true,
    "message": "200",
    "data": [
        {
            "id": 367508,
            "id_company": 1573,
            "id_task": 2720709,
            "id_task_trigger_type": 4,
            "value_main": 1,
            "value_end": null,
            "fixed": false,
            "id_replay": 1,
            "id_period_date": 1,
            "id_unit": null,
            "id_unit_operator": 1,
            "id_event": 4522,
            "task_trigger_type_description": "EVENT",
            "trigger_replay_description": "ALWAYS",
            "period_date_description": "DAYS",
            "unit_description": null,
            "unit_operator": "EQUAL_TO",
            "event_description": "Nueva tarea generada por API",
            "monthly_average_data": 2
        }
    ],
    "total": 1
}
Language