Setting Up the OAuth Client for the Data Import Service
To send requests to the service, you must first set up an OAuth client on the SAP Analytics Cloud system. This requires administrator access.
For any Two-Legged OAuth connection, the Data Import Service API runs a check on the OAuth Client used to authenticate. Only a valid OAuth Client can use the API.
-
Purpose is set to API Access.
-
The Data Import Service is listed under Access in the list of supported APIs.
To restrict an OAuth Client's usage exclusively to a Three-Legged flow, users have the option to define an alternate purpose or exclude the Data Import Service from the list of API access. Furthermore, note that while a valid OAuth Client designed for a Two-Legged flow can also function in a Three-Legged flow, the opposite is not true.
-
From the side navigation, choose .
-
Choose the App Integration tab.
-
Under Configure Clients, copy the Token URL. It will be needed later in this procedure.
-
Under Configured Clients, select Add a New OAuth Client.
-
In the dialog, add a Name for the OAuth client.
-
Under Purpose, select API Access.
-
Under Access, select Data Import Service.
-
Click Add.
After you click Add, the application generates the OAuth Client ID and the Client Secret. Make sure to note them down, as these values will be used to send requests to the service.
After configuring the OAuth client, you should have access to three values: Access token URL, OAuth Client ID, and Client Secret.
-
Access token URL
-
OAuth Client ID
-
(Client) Secret
Next Steps
Using these three values, you can send a sample request in Postman.-
Go to the Authorization tab.
-
Under Type, select OAuth 2.0.
-
Fill in the values as specified in the screenshot below.
There are two grant types supported:
-
Client Credentials for Two-Legged OAuth authentication, geared towards administrators.
-
Authorization Code for Three-Legged OAuth authentication, geared towards business users.
-
Once you have filled in these values, click Get New Access Token. This is the token you can use to send a request to the service.

System
Administration