GET api/2.0/calendar/events/{eventUid}/historybyuid
Returns an event in the iCal format by its UID from the history.
Name |
Description |
Type |
Example |
eventUid
sent in url
|
Event UID
|
string
|
some text
|
GET api/2.0/calendar/events/some+text/historybyuid
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
application/json
{
"status": 0,
"response": {
"calendarId": 1,
"eventUid": "uid1@onlyoffice.com",
"eventId": 1,
"mergedIcs": "BEGIN:VCALENDAR\u000d\u000aVERSION:2.0\u000d\u000aPRODID:onlyoffice.com\u000d\u000aBEGIN:VEVENT\u000d\u000aUID:uid1@onlyoffice.com\u000d\u000aDTSTAMP:19970714T170000Z\u000d\u000aORGANIZER;CN=John Doe:MAILTO:john.doe@example.com\u000d\u000aDTSTART:19970714T170000Z\u000d\u000aDTEND:19970715T035959Z\u000d\u000aSUMMARY:Bastille Day Party\u000d\u000aEND:VEVENT\u000d\u000aEND:VCALENDAR",
"canEdit": true,
"canNotify": true
}
}
text/xml
<result>
<status>0</status>
<response>
<calendarId>1</calendarId>
<eventUid>uid1@onlyoffice.com</eventUid>
<eventId>1</eventId>
<mergedIcs>BEGIN:VCALENDAR
VERSION:2.0
PRODID:onlyoffice.com
BEGIN:VEVENT
UID:uid1@onlyoffice.com
DTSTAMP:19970714T170000Z
ORGANIZER;CN=John Doe:MAILTO:john.doe@example.com
DTSTART:19970714T170000Z
DTEND:19970715T035959Z
SUMMARY:Bastille Day Party
END:VEVENT
END:VCALENDAR</mergedIcs>
<canEdit>true</canEdit>
<canNotify>true</canNotify>
</response>
</result>