Through this API you can query the detail of the times used for the execution of a task within a work order.

EndPoint

https://app.fracttal.com/api/wo_execution_times/:id_work_order_task

Input Parameters

Parameter

Field type

Required

Description

id_work_order_task

Number

Optional

Id of the task 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

Final record number that the query will return.

Output parameters

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

Parameter

Field type

Description

id_work_order_task

Number

Task ID within the WO

initial_date

Text

Start date of task execution

final_date

Text

End date of the task execution or

wo_tasks_execution_types_description

Text

Type of task break

note

Text

Task break note

name

Text

Name of person who recorded the time

Output parameters

Example:

Example Request: https://app.fracttal.com/api/wo_execution_times/3259375

or https://app.fracttal.com/api/wo_execution_times/?id_work_order_task=3259375

Example Response:

{ 
"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": " Lack of spare parts ",
"note": " A spare part is missing to continue the work ",
"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": " Feeding ",
"note": "Lunch time",
"id_accounts_log": 528,
"id_account": 1,
"name": "Laura Marcela Peña Jaramillo"
}
],
"total": 3
}

Did this answer your question?