Saltar al contenido principal
GET
/
v1
/
maintenance
/
workOrders
/
{workOrderReference}
/
timeEntries
Get all time entries for a work order
curl --request GET \
  --url https://api.bold-factory.com/v1/maintenance/workOrders/{workOrderReference}/timeEntries \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "id": "<string>",
      "workOrderId": "<string>",
      "employeeId": "<string>",
      "employee": {
        "id": "<string>",
        "externalReference": "<string>",
        "active": true,
        "fullName": "<string>",
        "code": "<string>"
      },
      "startedAt": "2023-11-07T05:31:56Z",
      "finishedAt": "2023-11-07T05:31:56Z",
      "totalMinutes": 123
    }
  ],
  "totalCount": 123
}

Autorizaciones

Authorization
string
header
requerido

Use a valid JWT token in the Authorization header with the format 'Bearer {token}'

Parámetros de ruta

workOrderReference
string
requerido

Respuesta

OK

results
object[]
requerido
totalCount
integer<int32>
requerido