简体   繁体   English

使用模板收件人角色名称生成 DocuSign 收件人视图?

[英]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.我通过调用他们的 rest api 创建了一个 docusign 模板。 In that call I specify 2 signers with在那个电话中,我指定了 2 个签名者

     "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.然后我生成发件人视图 url 并重定向到该 url。 In docusign, i see recipients being populated correctly.在 docusign 中,我看到收件人被正确填充。
  3. I add 2 sign here tabs.我在这里添加了 2 个标志选项卡。
  4. I assign one signhere to role1, and the other to role2.我在这里将一个签名分配给角色 1,另一个分配给角色 2。
  5. Then I make call for generating recipient url, but just can't get it right.然后我要求生成收件人 url,但就是做对了。

How can I get recipient view url by providing recipient id or role?如何通过提供收件人 ID 或角色来获取收件人查看 url?

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": "fake@test.com",
"AuthenticationMethod": "Email"
}

Unfortunately we don't support changing the routing order when populating the role attributes.不幸的是,我们不支持在填充role属性时更改路由顺序。 Instead you need to change the recipients explicitly.相反,您需要明确更改收件人。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM