通过NodeJS的DocuSign InPerson签名

问题描述

我已经仔细阅读了DocuSign文档,但无法找到真实的示例。

我正在寻找通过docusign节点客户端显示InPerson签名流程的示例代码

我能够成功创建一个新的签名者,并且可以使用。我不确定如何将该签名者设置为InPerson。

解决方法

let inPersonSigner1 = docusign.InPersonSigner.constructFromObject({
    email: "enduseremail@domain.com",name: "end user name",hostEmail: "hostemail@doamain.com",hostName: "host name",recipientId: '1',routingOrder: '1'});

// Add the recipients to the envelope object
let recipients = docusign.Recipients.constructFromObject({
inPersonSigners: [inPersonSigner1]});
env.recipients = recipients;

其余与其他信封相同,您可以找到remote signing example here

请注意,主机必须具有DocuSign帐户,并且他们需要登录才能托管签名人。