Reputation: 695
I need to be able to resend an already sent API. Either because an email was lost, or perhaps a signer declined, and I want them to sign again.
I am using the call below. According to the docs, I need to add the 'resend' to the envelope. But I can't find where I put that. Does anyone have any idea how to add that flag?
EnvelopesApi envelopesApi = new EnvelopesApi();
EnvelopeSummary envelopeSummary = envelopesApi.CreateEnvelope(accountId, envDef);
Upvotes: 2
Views: 3102
Reputation: 13480
If a signer has declined, you'll have to create/send a brand new Envelope, because once a signer declines, the Envelope is in a terminal state (cannot be completed).
If you need to re-send the signing invitation email to specific recipient(s), for example, because the initial email has been misplaced, you'll need to use the Update Envelope Recipients operation to do so (more details about this scenario are available in my answer here: Resend DocuSign Emails). To do this with the DocuSign C# SDK, your code would look like this:
envelopesApi.UpdateRecipients(accountId, envelopeId, recipients, options);
...where recipients
specifies the recipient(s) that you want to re-send emails to, and options
is an EnvelopesApi.UpdateRecipientsOptions
object with the resendEnvelope
property set to (the string value) true.
Upvotes: 7