Calendar

Получить свободные слоты своей ссылки

Changed on

Возвращает свободные интервалы для указанной ссылки самозаписи текущего пользователя.

get/api/v1/calendar/booking-links/{id}/slots

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

Path parameters

id, string uuid required

Headers

X-Tenant, string required

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

Response

Свободные слоты

CalendarSlotPage required
items, CalendarSlot[] required
status, string

Состояние ссылки записи для её владельца: active или paused

bookable, boolean

Можно ли записаться по ссылке прямо сейчас; у приостановленной — нет, хотя слоты считаются

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

    5 more changes in this revision