Fracttal →

Query task execution times in WOs

This API can be used to query the detail of the times used for the execution of a task within a work order.

Input parameters

ParameterTypeRequiredDescription
id_work_order_taskNumberOptionalTask ID in the work order
startIntegerOptionalNumber of records from which you want to start the query. All queries are limited to 100 records, when there are more than that amount you must use this parameter for pagination.
limitIntegerOptionalNúmero de registro final que retornará la consulta .

Output parameters

Note: All dates returned by Fracttal web services are in UTC-0.

ParameterTypeDescription
id_work_order_taskNumberTask ID within the WO
initial_dateTextStart date of task execution
final_dateTextDate of completion of task execution
wo_tasks_execution_types_descriptionTextType of task pause
noteTextNote of the task pause
nameTextName of person who recorded the time

Example:

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

{
    "success": true,
    "message": "200",
    "data": [
        {
            "id": 229412,
            "id_company": 69,
            "id_work_order_task": 3259375,
            "initial_date": "2021-09-22T15:38:00.97+00:00",
            "final_date": "2021-09-22T15:38:03.770837+00:00",
            "id_wo_tasks_execution_types": null,
            "wo_tasks_execution_types_description": null,
            "note": null,
            "id_accounts_log": 528,
            "id_account": 1,
            "name": "Laura Marcela Peña Jaramillo"
        },
        {
            "id": 229411,
            "id_company": 69,
            "id_work_order_task": 3259375,
            "initial_date": "2021-09-22T15:37:42.337+00:00",
            "final_date": "2021-09-22T15:37:57.852+00:00",
            "id_wo_tasks_execution_types": 1,
            "wo_tasks_execution_types_description": "Falta de repuesto",
            "note": "Falta un repuesto para continuar con el trabajo",
            "id_accounts_log": 528,
            "id_account": 1,
            "name": "Laura Marcela Peña Jaramillo"
        },
        {
            "id": 229410,
            "id_company": 69,
            "id_work_order_task": 3259375,
            "initial_date": "2021-09-22T15:37:06.159+00:00",
            "final_date": "2021-09-22T15:37:33.248+00:00",
            "id_wo_tasks_execution_types": 381,
            "wo_tasks_execution_types_description": "Alimentación",
            "note": "Hora del almuerzo",
            "id_accounts_log": 528,
            "id_account": 1,
            "name": "Laura Marcela Peña Jaramillo"
        }
    ],
    "total": 3
}

TEST It

Language