Calendar

Создать ссылку самозаписи

Создаёт ссылку, по которой другие пользователи могут выбрать время записи.

post/api/v1/calendar/booking-links

Request

  • Base URL: https://erp.akeda.ru
  • URL: https://erp.akeda.ru/api/v1/calendar/booking-links
  • 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
availabilitystring uuid
availability_idstring uuid
slugstring
titlestring
descriptionstring
calendar_sourcestring

Нормализуется сервером в booking

export_targetstring
timezonestring
duration_mininteger
buffer_mininteger
min_notice_mininteger
max_days_aheadinteger
date_range_startstring
date_range_endstring
status'active' | 'paused' | 'archived'
member_idsinteger[]
member_user_idsinteger[]

Response

Созданная ссылка

oktrue required
idstring uuid required

Changes

No recorded changes to this operation across all 2 revisions of this API.