jeg
jeg

Reputation: 23

Passing resend_envelope=true to putEvelopeRecipients return success but not resend

In Postman putEnvelopeRecipients call returns success AND resends the envelope.

When I do the same thing in my C# program I get the identical success text but the envelope is not resent.

I realize my c# code should be presumed guilty, but I'm confused because of the successful response (below).

PUT https://demo.docusign.net/restapi/v2/accounts/<act>/envelopes/<env>/recipients/resend_envelope=true

With a body from a GET /recipients call.

Successful result:

{
  "recipientUpdateResults": [
    {
      "recipientId": "1",
      "errorDetails": {
        "errorCode": "SUCCESS",
        "message": ""
      }
    },
    {
      "recipientId": "2",
      "errorDetails": {
        "errorCode": "SUCCESS",
        "message": ""
      }
    }
  ]
}

Upvotes: 0

Views: 85

Answers (1)

Praveen Reddy
Praveen Reddy

Reputation: 7383

The recipient will only receive the email

  • If the envelope status is Sent
  • The Envelope has reached the recipients Routing order

If the envelope is in a Created status then the PutRecipients call will succeed, but no email will be sent.

Upvotes: 1

Related Questions