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

Description

Returns the iCal event by its ID from the 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\nVERSION:2.0\nPRODID:onlyoffice.com\nBEGIN:VEVENT\nUID:uid1@onlyoffice.com\nDTSTAMP:19970714T170000Z\nORGANIZER;CN=John Doe:MAILTO:john.doe@example.com\nDTSTART:19970714T170000Z\nDTEND:19970715T035959Z\nSUMMARY:Bastille Day Party\nEND:VEVENT\nEND:VCALENDAR",
    "canEdit": true,
    "canNotify": true,
    "ics": "some text",
    "timeZone": {
      "name": "UTC",
      "id": "UTC",
      "offset": 0
    },
    "calendarName": "Calendar name"
  }
}

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>
    <ics>some text</ics>
    <timeZone>
      <name>UTC</name>
      <id>UTC</id>
      <offset>0</offset>
    </timeZone>
    <calendarName>Calendar name</calendarName>
  </response>
</result>