on ‎2023 Oct 20 3:00 PM
Good afternoon,
I'm really not a SAP person and I'm my target is to download some MPL data from the current existing API.
https://api.sap.com/api/MessageProcessingLogs/resource/Logs
My problem is not about the API it's self but it is how to authorize my self to reach the API.
Do I need any APIKey with read grants or do I need to authenticate with user and password?
If any APIKey is needed, where is the piece of document from SAP CPI that explain that?
In previous experience (with other platforms) I was generating a Api token and that was good enough to read data from the API
Thank you to anybody who can help me here
Request clarification before answering.
Hi Yann
the documentation link that you have provided lists the authentication method as basic authorisation which would work but of course it is not the best way. If you use this approach your user will need role the MonitoringDataRead to be assigned in SAP BTP
There is another link in the page you have found which explains how to setup an OAuth client in SAP BTP. This is the recommended approach.
If you don't have access to SAP BTP an admin has to create a service key (which contains client id/client secret and token endpoint) in the subaccount where CPI is deployed.
Kind regards
Olgen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 7 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.