Closed shengbid closed 1 year ago
See https://developers.docusign.com/docs/esign-rest-api/how-to/phone-auth/ The node code for a recipient is like this:
let signer1 = docusign.Signer.constructFromObject({
email: args.signerEmail,
name: args.signerName,
recipientId: "1",
routingOrder: "1",
deliveryMethod: "Email",
tabs: signer1Tabs,
identityVerification: { workflowId: args.workflowId, steps: null, "inputOptions":[{"name":"phone_number_list","valueType":"PhoneNumberList","phoneNumberList":[{"countryCode":args.countryCode,"code":"1","number":args.phoneNumber}]}], "idCheckConfigurationName":""}
Just replace the Signer
object with a TemplateRole
object, but the rest should be the same.
How do I get signer1Tabs content? I want to generate the envelope with the defined template
How do I get signer1Tabs content? I want to generate the envelope with the defined template
------------------ 原始邮件 ------------------ 发件人: "docusign/code-examples-node" @.>; 发送时间: 2022年6月16日(星期四) 上午10:37 @.>; @.**@.>; 主题: Re: [docusign/code-examples-node] How do I change phone numbers when using templates to generate envelopes (Issue #40)
Just replace the Signer object with a TemplateRole object, but the rest should be the same.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
The last error occurs because you're using a templateId which requires templateRole so you cannot specify recipients too. I would recommend using the composite template model that allow the most flexibility.
Let us know if you still need help on this
Create templates that require phone validation. How do I change phone numbers when using templates to generate envelopes
Is there any interface that can modify the recipient as templateRoles does ?