Функция требует авторизации
Описание
Возвращает подробные сведения о календаре с ИД, указанным в запросе
Параметры
Имя | Описание | Тип | Пример |
calendarId
отправка в url
|
ИД календаря | строка | какой-либо текст |
Возвращает - Календарь
Пример ответа - application/json
{ "status": 0, "response": { "canEditTimeZone": false, "timeZone": { "offset": 0, "id": "UTC", "name": "UTC" }, "defaultAlert": { "type": -1 }, "events": [ { "owner": { "objectId": "2fdfe577-3c26-4736-9df9-b5a683bb8520", "name": "Valery Zykov" }, "permissions": { "users": [ { "objectId": "2fdfe577-3c26-4736-9df9-b5a683bb8520", "name": "Valery Zykov" } ] }, "isEditable": false, "сanUnsubscribe": true, "isShared": true, "alert": { "type": -1 }, "repeatRule": "", "start": "2020-12-04T18:22:06.3938412Z", "end": "2020-12-04T18:22:06.3938412Z", "allDay": false, "description": "Event Description", "title": "Event Name", "objectId": "1", "sourceId": "calendarID", "status": 0 } ], "owner": { "objectId": "2fdfe577-3c26-4736-9df9-b5a683bb8520", "name": "Valery Zykov" }, "objectId": "1", "title": "Calendar Name", "description": "Calendar Description", "backgroundColor": "#000000", "textColor": "#ffffff", "isEditable": true, "permissions": { "data": { "actions": [ { "id": "read", "name": "Read only", "defaultAction": true } ], "items": [ { "selectedAction": { "id": "read", "name": "Read only", "defaultAction": true }, "canEdit": true, "isGroup": true, "name": "Everyone", "id": "2fdfe577-3c26-4736-9df9-b5a683bb8520" } ] } }, "isShared": true, "canAlertModify": true, "isHidden": false, "isiCalStream": false, "isSubscription": false } }
text/xml
0 false 0 UTC UTC -1 2fdfe577-3c26-4736-9df9-b5a683bb8520 Valery Zykov 2fdfe577-3c26-4736-9df9-b5a683bb8520 Valery Zykov false <сanUnsubscribe>trueсanUnsubscribe> true -1 2020-12-04T18:22:06.3938412Z 2020-12-04T18:22:06.3938412Z false Event Description 1 calendarID 0 2fdfe577-3c26-4736-9df9-b5a683bb8520 Valery Zykov 1 Calendar Description #000000 #ffffff true read Read only true read Read only true true true Everyone 2fdfe577-3c26-4736-9df9-b5a683bb8520 true true false false false