Calendar

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

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

post/api/v1/calendar/connectors

Request

  • Base URL: https://erp.akeda.ru
  • URL: https://erp.akeda.ru/api/v1/calendar/connectors
  • 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

provider'caldav' | 'icloud' | 'yandex' required
display_namestring
account_emailstring
direction'both' | 'import' | 'export'
status'connected' | 'paused' | 'disconnected' | 'error'
calendar_urlstring uri
usernamestring
credentialstring
passwordstring

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

Response

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

oktrue required
idstring uuid required

Changes

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