Get Started
Portal api methods
Help

POST api/2.0/calendar/{calendarId}/import This function requires authentication

Description

Imports the events from the iCal files to the existing calendar

Parameters
Name Description Type Example
calendarId
sent in url
ID for the calendar which serves as the future storage base for the imported events number 1234
files
sent in body
iCal formatted files with the events to be imported Files for adding using multipart/form-data
collection
N/A
Example
POST api/2.0/calendar/1234/import
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "files": []
}
Returns

Returns the number of imported events