on 08-10-2020 12:54 PM
Hello All,
I am working on an integration with Document Approval API and trying to fetch the pendingApprovables based on user.
The documentation says that we can do this with query parameter "user". But when I do that with user as query parameter, it shows some authorization issue. However, when I add passwordAdapter as an additional query parameter, it works fine.
Now, I have only the user ID. I do not have the passwordAdapter. I can fetch passwordAdapter from /groups endpoint if I know the group ID to which the user belongs. Unfortunately, I do not have those details.
1. Is there any way to fetch the pendingApprovables of a user only based on user ID and no other query parameter?
2. Is the passwordAdapter always defaulted to "PasswordAdapter1" ?
Also the API document never mentions that if user is used as query parameter, we must use passwordAdapter as well.
Thanks - Vishnu.
Any updates on this ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Henning,
For the questions which I had
1. Is there any way to fetch the pendingApprovables of a user only based on user ID and no other query parameter?
-- The answer is NO. We need to pass the additional filter passwordAdapter. In our system, it is set as "PasswordAdapter1".
Also, there are many misleading/incorrect definitions in the Swagger file. I have reported this to SAP and they said it would take 2-3 months to update the Swagger file. (Ticket was raised in October/November 2020)
For the question 2, I found an answer in an old documentation of Ariba https://connect.ariba.com/CCO_Forums/buyer_config.pdf (Page 83).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.