Calendar

Ответить на приглашение

Changed on

Записывает ответ текущего пользователя на приглашение к событию.

post/api/v1/calendar/events/{id}/response

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 выбранного кабинета; кабинет не является юрлицом

Request body

CalendarEventResponseInput required
response_status, 'needs_action' | 'accepted' | 'declined' | 'tentative' required

Response

Событие с сохранённым ответом

CalendarEventEnvelope required
ok, true required
item, CalendarEvent required
id, string uuid required
title, string required
starts_at, string required
ends_at, string required

Example response

{
  "item": {
    "timezone": "Europe/Moscow"
  }
}

Changes

    • info

      added the optional property item/can_edit to the response with the status

    • info

      added the optional property item/participants_can_edit to the response with the status

    • info

      added the optional property field to the response with the status

    7 more changes in this revision