Calendar

Получить событие

Changed on

Возвращает указанное событие календаря. Вместо id принимается occurrence_id из списка событий: «<id серии>:<начало RFC3339>» отдаёт одну встречу серии; для занятости из другого кабинета человека («cabinet:<slug>:…» или id такого события) ответ 404 с code=calendar.event_in_other_cabinet и cabinet=<slug>.

get/api/v1/calendar/events/{id}

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 required

id события или occurrence_id из списка событий

Headers

X-Tenant, string required

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

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

    9 more changes in this revision