Calendar

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

Changed on

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

post/api/v1/calendar/availability

Request

  • Base URL
    https://erp.akeda.ru
  • Auth
    • HTTP bearer
    • or API key in header X-Api-Key
    • or OAuth 2
      Authorization codehttps://erp.akeda.ru/oauth2/authorize
      Token URLhttps://erp.akeda.ru/oauth2/token
      Scopesakeda:delegate
    • or HTTP bearer

Headers

X-Tenant, string required

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

Request body

CalendarAvailabilityCreate required
owner, integer
name, string
timezone, string
weekdays, integer[]
start_time, string
end_time, string
slot_duration_min, integer
buffer_min, integer
is_active, boolean

Response

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

CalendarAvailabilityEnvelope required
ok, true required
item, CalendarAvailability required
id, string uuid required

Changes

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    3 more changes in this revision