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

Description

Imports the events from the iCal files to the calendar with the ID specified in the request.

Parameters
Name Description Type Example
calendarId
sent in url
Calendar ID number 1234
files
sent in body
The iCal files with the events 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

The number of imported events