api/v1/calendar
The calendar API allows you to interact with events in the SAP Analytics Cloud calendar.
-
Read information of a calendar event
-
Copy a single calendar event or a complete hierarchy tree of calendar events
-
Update the status of a calendar event
Prerequisites
-
You must have an SAP Analytics Cloud tenant URL.
-
You must have an SAP Analytics Cloud user.
-
You must configure OAuth to work with your application. The Calendar Service supports three OAuth authentication flows:
-
OAuth 2.0 Client Credentials (2-legged OAuth): This workflow allows administrators to fetch event information or start a planning workflow in machine-to-machine scenarios, for example.
-
OAuth 2.0 SAML Bearer Assertion (2-legged OAuth): This workflow allows administrators to fetch event information or start a planning workflow in machine-to-machine scenarios, for example.
-
OAuth 2.0 Authorization Code Grant (3-legged OAuth): This workflow allows business users to start a planning workflow or update the status of specific events.
-
-
You must get a valid CSRF token before making any POST or PATCH request. For more information, see Get a Valid CSRF Token for POST and PATCH Requests.
-
You can only access events in the SAP Analytics Cloud calendar for which you have allowed external API access.
As owner of a calendar event, you can turn off or on the setting Allow External API Access in the Create dialog or the Event Settings dialog. For more information, see Access Calendar Events Using the Calendar API.
API Endpoints and Parameters
|
Endpoint |
Description |
|---|---|
|
Fetches information of a calendar event from the SAP Analytics Cloud calendar, such as name, description, dates, and status |
|
|
You can use this API to update the status of an event in the SAP Analytics Cloud calendar. Events can be activated, suspended, or canceled, for example. |
|
|
Creates a copy of an event in the SAP Analytics Cloud calendar |