繁体   English   中英

Docusign nodejs 信封 api 返回导出 {}

[英]Docusign nodejs envelopes api returns exports {}

我在我的 nodejs 服务器中运行以下代码

  // Create the recipient view, the Signing Ceremony
  
  let viewRequest: RecipientViewRequest = {
    returnUrl: "http://localhost:3000/fund/123?state=123",
    authenticationMethod: "none",
    email: "my_email",
    userName: "Ryan",
    clientUserId: "my client user id",
    pingFrequency: "600",
    pingUrl: "http://localhost:3000"
  };

  // Call the CreateRecipientView API
  // Exceptions will be caught by the calling function

  const dsApiClient = new ApiClient();
  dsApiClient.setBasePath("https://account-d.docusign.com");

  const api = new EnvelopesApi(dsApiClient);
  const results = await api.createRecipientView(
    "1234",
    "5678",
    { recipientViewRequest: viewRequest }
  );

并且它一直给我exports {}的输出,没有错误或任何东西。 调试起来非常痛苦。 有没有其他人遇到过类似的问题? 你是怎么解决的?

当您使用嵌入式签名时,您必须设置clientUserId

但是,必须在创建信封或将收件人添加到草稿信封时设置clientUserId ,并且必须与您稍后在请求收件人视图中传递的值相匹配。

您无法为通过 Web 应用程序创建的信封请求查看收件人,除非您的代码修改了该信封以设置所需收件人的clientUserId

暂无
暂无

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

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