Malu
Malu

Reputation: 13

How to retrieve Document Form field Values using C# Client

I am using the DocuSign C# Client to retrieve an envelope's current recipient status including the values of document form fields.

Using REST API , I can retrieve the document form field values using the following url and setting the parameter include_tabs to true. /accounts/:accountId/envelopes/:envelopeId/recipients?include_tabs=true

How do I get the document form fields using the C# client?

Following method calls do not return the document form field values (no tabs information are returned.)

EnvelopesApi envelopesApi = new EnvelopesApi();
Recipients recips = envelopesApi.ListRecipients(accountId, envelopeId);

Thanks!

Upvotes: 1

Views: 659

Answers (1)

Ergin
Ergin

Reputation: 9356

That's not the correct API call to retrieve recipient tabs, instead of using the ListRecipients() call you need to make the listTabs() call, which has the following function signature:

Tabs ListTabs (string accountId, string envelopeId, string recipientId);

This is also why you should remember the recipientId values you set for your recipients when you add them to the envelope in the first place (i.e. so you can easily assign and retrieve their tab values later), otherwise you need to make an additional API call to retrieve that info.

Upvotes: 1

Related Questions