Click HERE to see how Saviynt Intelligence is transforming the industry. |
07/03/2023 11:01 AM
Has anybody had any success calling the {{url}}/ECM/{{path}}/getPendingApprovals API endpoint?
When I pass in a JSON body like:
Solved! Go to Solution.
07/03/2023 08:40 PM
Which SAV role user has ?
07/04/2023 03:37 AM
The user has a copy of the ROLE_ADMIN role adjusted to allow it to see all Requests.
07/03/2023 09:11 PM
Also, are you able to invoke other saviynt APIs successfully?
Please assign the api user role_admin sav role and then check.
07/04/2023 03:42 AM - edited 07/04/2023 04:43 AM
It doesn't look like it. I set up the API account as follows:
Do I want to be hitting ECMv6/api/login or ECM/api/login? The v6 login is failing with a 401 but the other is working.
----
Added later:
Ok - I'm confused. We are running v23.5 and if I hit "{{url}}/ECMv6/api/login" I get a 403.
But if I hit "{{url}}/ECM/api/login" (from the 2021.0 documentation) I can get a token and then successfully call "{{url}}/ECM/{{path}}/getPendingApprovals" (where path is "api/v5").
Maybe I'm confused about the endpoints but I had assumed that using the newer endpoint was the right way to go since we are on a newer version.
07/04/2023 05:32 AM
You have to use {{url}}/ECM/api/login to get token for invoking all saviynt rest api v5 calls.
api v6 is for internal call with in system and should not be invoked from outside.
07/26/2023 03:21 AM
@BarCar's confusion is a result of Saviynt's API documentation being particularly unclear.
@nimitdave you should feed this back and make sure the API documentation is made clearer.
08/11/2023 12:55 AM
@BarCar , please can you help us with the document that mentioned any of api with endpoint containing ECMv6, so that it can corrected.