0% found this document useful (0 votes)
758 views8 pages

Use Multi Actions To Call SAP Analytics Cloud REST APIs - SAP Blogs

This document discusses how to use Multi Actions to call REST APIs in SAP Analytics Cloud. It provides steps to create an OAuth client, HTTP API connection, and Multi Action with an API step to call the SCIM API and create a new user. Executing the Multi Action allows triggering SAC REST APIs along with third party APIs.

Uploaded by

ARPITA BISWAS
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
758 views8 pages

Use Multi Actions To Call SAP Analytics Cloud REST APIs - SAP Blogs

This document discusses how to use Multi Actions to call REST APIs in SAP Analytics Cloud. It provides steps to create an OAuth client, HTTP API connection, and Multi Action with an API step to call the SCIM API and create a new user. Executing the Multi Action allows triggering SAC REST APIs along with third party APIs.

Uploaded by

ARPITA BISWAS
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

1/9/24, 2:43 PM Use Multi Actions to call SAP Analytics Cloud REST APIs | SAP Blogs

Community
Follow

 Mark Your Calendars 


 Like
Mark Your Calendars with these Here’s what you need to know to prepare.
Important Dates. SAP Community is
moving in January 2024!  RSS Feed

Ask a Question Write a Blog Post Login

Product Information

Chandni Sinha
October 31, 2023 | 2 minute read

Use Multi Actions to call SAP Analytics


Cloud REST APIs
 0  5  705

Introduction
Post Q4 2023 release(2023.23), Multi Actions has taken another API step with
feature including CSRF token. This feature help now to call SAC own REST APIs using
Multi Action.

Scenario
To demonstrate this , lets create a user in SAC via Multi Action API step. You can refer
the SCIM API for user creation body template.

1. Create an OAuth Client

https://blogs.sap.com/2023/10/31/use-multi-actions-to-call-sap-analytics-cloud-rest-apis/ 1/8
1/9/24, 2:43 PM Use Multi Actions to call SAP Analytics Cloud REST APIs | SAP Blogs

In SAC, go to System Administrator > App Integration. Create a new OAuth


Client. Do not forget to mention the Redirect URI for SAC We require this in
order to interact with SAC REST APIs

2. Create a HTTP API connection


In SAC, got to connections and create HTTP API connection using OAuth Client
ID and secrete from step 1, Data Service url will your SAC Tenant URL. Use Token
URL from App Integration page in SAC

https://blogs.sap.com/2023/10/31/use-multi-actions-to-call-sap-analytics-cloud-rest-apis/ 2/8
1/9/24, 2:43 PM Use Multi Actions to call SAP Analytics Cloud REST APIs | SAP Blogs

3. Create a Multi Action with API step


– HTTP API Connection: Select the connection created in previous step
– API URL: https://<SAC Tenant URL>/api/v1/scim/Users
– Add Additional Header: Key as “x-sap-sac-custom-auth” and Value as “true”
– Check “Require CSRF Token”. We will leave CSRF token URL blank so that API
URL will be used for the same
– Body: we need to mention user details will be used to create a new user in
SAC. The format for the body should be like below template which can be find at
SCIM API create user

{
"schemas": [
"string"
],
"userName": "string",
"id": "string",
"preferredLanguage": "string",
"meta": {
"created": "string",
"location": "string",
"resourceType": "string"

https://blogs.sap.com/2023/10/31/use-multi-actions-to-call-sap-analytics-cloud-rest-apis/ 3/8
1/9/24, 2:43 PM Use Multi Actions to call SAP Analytics Cloud REST APIs | SAP Blogs

},
"name": {
"givenName": "string",
"familyName": "string"
},
"displayName": "string",
"active": true,
"emails": [
{
"value": "string",
"type": "string",
"primary": true
}
],
"photos": [
{
"value": "string",
"type": "string"
}
],
"roles": [
"string"
],
"groups": [
{
"value": "string",
"display": "string",
"$ref": "string"
}
],
"urn:ietf:params:scim:schemas:extension:sap:user-custom-parameters:1
"dataAccessLanguage": "string",
"dateFormatting": "string",
"timeFormatting": "string",
"numberFormatting": "string",
"cleanUpNotificationsNumberOfDays": 0,
"systemNotificationsEmailOptIn": true,
"marketingEmailOptIn": true,
"isConcurrent": true
},
"urn:scim:schemas:extension:enterprise:1.0": {
"manager": {
"managerId": "string"
}

https://blogs.sap.com/2023/10/31/use-multi-actions-to-call-sap-analytics-cloud-rest-apis/ 4/8
1/9/24, 2:43 PM Use Multi Actions to call SAP Analytics Cloud REST APIs | SAP Blogs

}
}

At the end of Step 3 your Multi Action should be look like this:

https://blogs.sap.com/2023/10/31/use-multi-actions-to-call-sap-analytics-cloud-rest-apis/ 5/8
1/9/24, 2:43 PM Use Multi Actions to call SAP Analytics Cloud REST APIs | SAP Blogs

Execute the Multi Action by adding Multi Action trigger in a story or creating a Multi
Action task in Calendar.

Once the Multi Action run complete successfully, you can verify if user got created in
Security > Users

Summary
With Multi Actions , we can now trigger SAC REST API along with third part APIs. You
can refer SAC API Hub to learn about REST APIs available. Please refer Introduction-
of-sac-multi-actions-public-api to learn about Public APIs and Multi Action usage

Thanks for the read! Hope you find this blog helpful. Please share your thoughts and
questions via comments. I request you to follow for future interesting blogs on SAP
Analytics Cloud

https://blogs.sap.com/2023/10/31/use-multi-actions-to-call-sap-analytics-cloud-rest-apis/ 6/8
1/9/24, 2:43 PM Use Multi Actions to call SAP Analytics Cloud REST APIs | SAP Blogs

Alert Moderator

Assigned Tags

SAP Analytics Cloud for planning

SAP Analytics Cloud

multi action

multi actions

multiaction

sac multi actions

Similar Blog Posts 


“Plan-To-Action” in Workforce Management, with decentralized approval logic using BTP Build Process Automation
– a technical view
By Patrick Favre Dec 29, 2023

Sneak Peek into SAP Analytics Cloud release for Q2 2023


By Orla Cullen Apr 18, 2023

What’s New in SAP Analytics Cloud Release 2023.07


By Megan Hoy Apr 11, 2023

Related Questions 
SAP Analytics Cloud - API Subscriptions Advantages and Disadvantages
By Ismail Günay Apr 28, 2023

Data action and View mode


By Martina Suarato Oct 05, 2023

SAP Analytics Cloud for planning - Monitor ODATA-Export to BW


By Ismail Günay Oct 17, 2023

https://blogs.sap.com/2023/10/31/use-multi-actions-to-call-sap-analytics-cloud-rest-apis/ 7/8
1/9/24, 2:43 PM Use Multi Actions to call SAP Analytics Cloud REST APIs | SAP Blogs

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Find us on

Privacy Terms of Use

Legal Disclosure Copyright

Trademark Cookie Preferences

Newsletter Support

https://blogs.sap.com/2023/10/31/use-multi-actions-to-call-sap-analytics-cloud-rest-apis/ 8/8

You might also like