[英]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.