Skip to main content
Participant
January 7, 2021
Question

Retrieve all Agreements within a group

  • January 7, 2021
  • 2 replies
  • 1398 views

We're creating a service account that has access to all agreements within a group. As best I can tell, the GetAgreements call only retrieves agreements for the current user. I can modify the call to use the GetAgreementsOnBehalfOf(user), but I'd prefer to not have to loop through all users in the group. Is it possible to retrieve all agreements in the group without doing that?

This topic has been closed for replies.

2 replies

Participant
September 24, 2021

Did you ever get any response to your question?

Adobe Employee
September 30, 2021

I think I answered a similar questions some days ago, so a new search may bring that up. In short there are no API calls to grab agreements per group nor per account. Agreements are child objects of the user. So you have the become a looper.

 

Now the new search method in v6 does have one way around it, which is to make use of any account sharing.

 

For a one of batch process though, make use of the export report option. Check if the resulting csv contains a transaction number (if not contact support to get it included)

reports can be done on account or group level and if the transaction number is included you can loop through the csv and use the transaction number (which is the same as the agreementID) to grab the signed pdf for all completed agreements.

 

Participant
April 30, 2021

We have a similar requirement, where we need to get ids of all agreements sent for signing. I would like to see too, if there is a way to get all agreements, not just for a specific user. Iterating through all users in loop is not something i am looking for.  

thanks in advance!