Skip to Content
0
Aug 10, 2020 at 11:54 AM

pendingApprovables - Document Approval API - Ariba

190 Views Last edit Aug 10, 2020 at 12:12 PM 3 rev

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.

Attachments

image1.png (20.1 kB)
image2.png (22.1 kB)
documentation.png (26.5 kB)