Calendar

Подключить CalDAV, iCloud или Яндекс.Календарь

Changed on

Google и Office365 подключаются только через их OAuth start/complete endpoints.

post/api/v1/calendar/connectors

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

CalendarConnectorCreate required
provider, 'caldav' | 'icloud' | 'yandex' required
display_name, string
account_email, string
direction, 'both' | 'import' | 'export'
status, 'connected' | 'paused' | 'disconnected' | 'error'
calendar_url, string uri
username, string
credential, string
password, string

KEIS-совместимый alias credential

selected_calendars, CalendarExternalCalendar[]

Response

Созданный коннектор без секрета

CalendarConnectorEnvelope required
ok, true required
item, CalendarConnector required
id, string uuid required

Changes

    • info

      added the optional property item/failure_history 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

    4 more changes in this revision