Hi,
I am implementing docusign envelope/ esignature api using docusign SDK,
I have implemented CreateEnvelopeAsync() successfully, but if i had put wrong email address for recipient signer then recipient signer email bounced or autoresponded.
in that situation i am updating recipient signer with sign here tabs, and recipient updated successfully. but when signer opens email and going to review envelope and to do sign then the sign here tab not displayed with AnchorString at specific AnchorYOffset and AnchorXOffset on the document.
So please provide any solution.
Thanks.
below the code of c# .net core for update recipient and tab
public async Task<RecipientsUpdateSummary> UpdateRecipientsWithTabs(string envelopeId, DocuSign.eSign.Model.Recipients recipients, UpdateRecipientsOptions options = null)
{
try
{
RecipientsUpdateSummary updateSummary = null;
OAuthToken authToken = AuthenticateWithJwt();
Account acct = GetDocusignUserAccountInfo();
var docuSignClient = new DocuSignClient(acct.BaseUri + "/restapi");
docuSignClient.Configuration.DefaultHeader.Add("Authorization", "Bearer " + authToken.access_token);
EnvelopesApi envelopesApi = new EnvelopesApi(docuSignClient);
var result = await envelopesApi.UpdateRecipientsAsync(acct.AccountId, envelopeId, recipients);
if (result != null)
{
updateSummary = result;
if (updateSummary.RecipientUpdateResults != null && updateSummary.RecipientUpdateResults.Any(r => r.ErrorDetails == null))
{
foreach (var upditem in updateSummary.RecipientUpdateResults)
{
foreach (var item in recipients.Signers)
{
var updatedtabs = await envelopesApi.UpdateTabsAsync(acct.AccountId, envelopeId, upditem.RecipientIdGuid, item.Tabs);
}
}
}
}
return await Task.Run(() => updateSummary).ConfigureAwait(false);
}
catch (Exception ex)
{
_logger.LogEx(ex, ex.Message);
throw ex;
}
}