neo
neo

Reputation: 2042

Generating DocuSign Recipient View by using template recipient role name?

Here is what I am trying to do.

  1. I create a docusign template by calling their rest api. In that call I specify 2 signers with

        "signers": [
        { "RecipientId": 1, "RoleName": "role1", "routingOrder": 1 },
        { "RecipientId": 2, "RoleName": "role2", "routingOrder": 2 }
    ]
    
  2. Then I generate sender view url and redirect to that url. In docusign, i see recipients being populated correctly.
  3. I add 2 sign here tabs.
  4. I assign one signhere to role1, and the other to role2.
  5. Then I make call for generating recipient url, but just can't get it right.

How can I get recipient view url by providing recipient id or role?

I keep getting the following response.

{
"errorCode": "UNKNOWN_ENVELOPE_RECIPIENT",
"message": "The recipient you have identified is not a valid recipient of the 
specified envelope."
}

Here is my request body

{
"returnUrl": "hidden",
"clientUserId": 1,
"recipientId": 1,
"UserName": "role1",
"Email": "[email protected]",
"AuthenticationMethod": "Email"
}

Upvotes: 0

Views: 66

Answers (1)

Larry K
Larry K

Reputation: 49104

Unfortunately we don't support changing the routing order when populating the role attributes. Instead you need to change the recipients explicitly.

Upvotes: 0

Related Questions