Calendar

Создать правило рабочего времени

Создаёт правило рабочего времени для календаря.

post/api/v1/calendar/availability

Request

  • Base URL: https://erp.akeda.ru
  • URL: https://erp.akeda.ru/api/v1/calendar/availability
  • Auth: one of:
    • HTTP bearer
    • API key in header X-Api-Key
    • OAuth 2 (authorization code, authorization URL https://erp.akeda.ru/oauth2/authorize, token URL https://erp.akeda.ru/oauth2/token, scopes: akeda:delegate)
    • HTTP bearer

Headers

X-Tenantstring required

Slug выбранного кабинета; кабинет не является юрлицом

Request body

ownerinteger
namestring
timezonestring
weekdaysinteger[]
start_timestring
end_timestring
slot_duration_mininteger
buffer_mininteger
is_activeboolean

Response

Созданное правило

oktrue required
idstring uuid required

Changes

No recorded changes to this operation across all 1 revision of this API.