cancel
Showing results for 
Search instead for 
Did you mean: 

pendingApprovables - Document Approval API - Ariba

vk8893
Explorer
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

Henning
Participant
0 Kudos

Any updates on this ?

vk8893
Explorer

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)

vk8893
Explorer
0 Kudos

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).