Overview

Add calendar configurations in the database and returns the url where the calendar can be consumed

Request

POST /Calendar/getICalPublishUrl

Request Arguments

Name Type Description Required
calendarConfigurations Array The list of calendar configurations that needs to be stored in the database for later use True

Response

The response will be a string containing the URL of the calendar.

Request Example

[
    {
        "id": "f75a25c6-eeb8-11eb-abe8-0242ac140005",
        "calendarId": "f75a25c6-eeb8-11eb-abe8-0242ac140005",
        "userId": "1",
        "teamId": ""
    },
    {
        "id": "49cfb786-ef8a-11eb-a8a5-0242ac140005",
        "calendarId": "49cfb786-ef8a-11eb-a8a5-0242ac140005",
        "userId": "1",
        "teamId": ""
    },
]

Response Example

"http://sugarcrm-instance/rest/v11_13/Calendar/getICalData?type=ics&user_id=1&key=c05655aa-e341-11ab-b16a-0242ac140005&calendarsUID=d530f23c-f11e-11eb-8515-0242ac140005"

Change Log

Version Change
v11_14 Added /Calendar/getICalPublishUrl POST endpoint.