Saltar al contenido principal
GET
/
v1
/
people
/
localCalendars
/
{localCalendarReference}
/
dates
Get a specific local calendar
curl --request GET \
  --url https://api.bold-factory.com/v1/people/localCalendars/{localCalendarReference}/dates \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "date": "2023-12-25",
      "workDayTemplateId": "<string>",
      "workDayTemplate": {
        "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"
      }
    }
  ],
  "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

localCalendarReference
string
requerido

Parámetros de consulta

from
string<date>
to
string<date>

Respuesta

OK

results
object[]
requerido
totalCount
integer<int32>
requerido