Reschedule pending tasks

This API allows you to reschedule pending tasks. This web service allows you to set the scheduled date.

Body Parameters

The following information must be sent in the body of the request.

ParameterTypeRequiredDescription
id_taskIntegerRequiredTask ID. You can find it here (id_task field)
id_itemIntegerRequiredAsset ID. You can find it here (id field)
date_maintenanceTextRequiredDate to reschedule the task. Format: 'YYYY-MM-DDTHH:MM:SS-UTC' Example: '2016-07-12T20:00:00-03'. The date is validated as greater than the current date
notesTextRequiredNote indicating the reason why the task is going to be rescheduled
reschedule_causeTextRequiredTask rescheduling cause. The reason entered must be previously created in the task rescheduling cause master.
account_codeTextRequiredCode of the human resource or third party with a user account in Fracttal, which will be registered as the person who modifies the task

Parámetros de salida

ParámetroTipoDescripción
id_taskIntegerTask ID
id_itemIntegerAsset ID
date_maintenanceTextCalculated date

Example:

Request: (PUT)https://app.fracttal.com/api/tasks_todo_reschedule

{
    "id_task": 5338075,
    "id_item": 1,
    "date_maintenance": "2023-05-26T22:12:07-05",
    "notes": "Mucha lluvia",
    "reschedule_cause":"Intensas Lluvias",
    "account_code": "J46541521"
}
{
    "success": true,
    "message": "200",
    "data": {
        "id_item": 1,
        "id_task": 5338075,
        "date_maintenance": "2023-05-27T03:12:07+00:00"
    },
    "total": 1
}
Language
Click Try It! to start a request and see the response here!