With this API is created you can create an unplanned task whose information is downloaded from a event task.
The event from which the data is fetched, cannot have associated resources.
To obtain the information related to the trigger and the task, it is necessary to consult the web service https://ayuda.fracttal.com/articulos/get-consultar-informacion-detallada-de-planes-de-tareas/.
This web service is part of the APIS ADVANCED add-on.
Parameters Input in the Body
Code of the asset to which the TO is to be performed.
Code of the human resource or third party with a user account in Fracttal, which will be registered as the creator of the TO.
Id of the task from which information will be obtained to create the TO
Id of the task list where the task from which the information will be obtained is located.
Task description (Default is the name of the task from the id_task)
Task type (Default is from the id_task task)
Task classification 1 (Default is from the id_task task)
Task rating 2 (Default is for the id_task task)
Date on which the event occurred (Default is the current date) Format: YYYYY-MM-DDTHH:MM:SS-UTC Example: 2021-07-12T20:00:00:00-03.
Date on which the task should be performed (Default is the current date). Format: YYYYY-MM-DDTHH:MM:SS-UTC Example: 2021-07-12T20:00:00:00-03.
Value indicating if the asset failed. False by default
Fault cause description
Fault detection method description
Fault severity id
1: Very Low
Date of start of out of service
Send the required fields and the parameters with the additional values to be inserted.
Task ID in the To-do module
TO creation date
Name of the user who was re-recorded as the TO creator
"requested_by": "FRACTTAL SPA",
"task_descripcion": " New task generated by API ",
"task_type_main": " CORRECTIVE ",
"task_type_description": " MECHANICS ",
"task_type_2_description": " REQUIRES HEIGHT PERMIT ",
"failure_type":" DAMAGED COMPRESSOR ",
"failure_cause":" CUT CIRCUIT",
"failure_detection_method":" VISUAL INSPECTION ",