Saltar al contenido principal
GET
/
v1
/
people
/
workDayTemplates
/
{workDayTemplateReference}
Get a specific work day template
curl --request GET \
  --url https://api.bold-factory.com/v1/people/workDayTemplates/{workDayTemplateReference} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "name": "<string>",
  "periods": [
    {
      "startTime": "<string>",
      "endTime": "<string>",
      "endNextDay": true,
      "hours": 123
    }
  ],
  "totalHours": 123,
  "createdBy": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "lastModifiedBy": "<string>",
  "lastModifiedAt": "2023-11-07T05:31:56Z"
}

Autorizaciones

Authorization
string
header
requerido

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

Parámetros de ruta

workDayTemplateReference
string
requerido

Respuesta

OK

id
string
requerido
name
string
requerido
periods
object[]
requerido
totalHours
number<double>
requerido
createdBy
string
requerido
createdAt
string<date-time>
requerido
lastModifiedBy
string
requerido
lastModifiedAt
string<date-time>
requerido