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

Parameter

Type

Required

Description

id_work_order_task

Number

Optional

Task ID in the work order

start

Integer

Optional

Number 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.

limit

Integer

Optional

Número de registro final que retornará la consulta .

Output parameters

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

Parameter

Type

Description

id_work_order_task

Number

Task ID within the WO

initial_date

Text

Start date of task execution

final_date

Text

Date of completion of task execution

wo_tasks_execution_types_description

Text

Type of task pause

note

Text

Note of the task pause

name

Text

Name 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