Get Started
Portal api methods
Help

GET api/2.0/calendar/events/{eventId}/historybyid This function requires authentication

Description

Returns the event in ics format from history

Parameters
Name Description Type Example
eventId
sent in url
Event ID number 1234
Example
GET api/2.0/calendar/events/1234/historybyid
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

Event History

Example Response

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>