I am changing the signer for a Specific Envelope by updating the recipient's using below code which was working fine
EnvelopesApi envelopeApi = new EnvelopesApi();
var options = new EnvelopesApi.UpdateRecipientsOptions()
{
resendEnvelope = "true",
//offlineSigning="true"
};
Signer signerobj = new Signer
{
Email = handoverOwnerEmail,
Name = handoverOwnerName,
RecipientId = "1",
RoutingOrder = "1",
};
CarbonCopy carbonCopyobj = new CarbonCopy
{
RecipientId = removesigner.recipientId,
Name = removesigner.name,
Email = removesigner.email,
};
Recipients objrecipients = new Recipients
{
Signers = new List<Signer>() { signerobj },
CarbonCopies = new List<CarbonCopy> { carbonCopyobj }
};
RecipientsUpdateSummary result1 = envelopeApi.UpdateRecipients(accoutnId, folderitem.envelopeId, objrecipients, options);
The above code return the same status for both valid email or wrong email. If i provide invalid email the status of the envelope in the sent items becomes Failure as show in the below image. If we login to Docusign we had a option to correct the recipient details.
Is it possible to get the failure status envelopes and update the recipient email using the rest API.
I am thinking of that we can get the failure envelopes and will update the recipient's with valid recipient emails