Calendar

Получить события в диапазоне

Changed on

Возвращает только события, доступные текущему пользователю, и разворачивает повторения в выбранном окне.

get/api/v1/calendar/events

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

Query parameters

start, string required
end, string required
owner, integer
user, integer
q, string

Headers

X-Tenant, string required

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

Response

События

CalendarEventPage required
count, integer required
results, CalendarEvent[] required
items, CalendarEvent[] required
current_user_id, integer required

Example response

{
  "results": [
    {
      "timezone": "Europe/Moscow"
    }
  ],
  "items": [
    {
      "timezone": "Europe/Moscow"
    }
  ]
}

Changes

    • info

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

    • info

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

    • info

      added the optional property results/items/can_edit to the response with the status

    1 more change in this revision