Saltar al contenido principal
GET
/
v1
/
people
/
workPeriods
Get work periods for a date range
curl --request GET \
  --url https://api.bold-factory.com/v1/people/workPeriods \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "employeeId": "<string>",
      "from": "2023-11-07T05:31:56Z",
      "to": "2023-11-07T05:31:56Z",
      "durationHours": 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 consulta

From
string<date-time>
To
string<date-time>
EmployeeId
string

Respuesta

OK

results
object[]
requerido
totalCount
integer<int32>
requerido