DocuSign RestApi – 上传文档时出错 – TAB_REFERS_TO_MISSING_DOCUMENT

当我尝试将模板(在我的网络帐户中创建)应用到我正在尝试上传的文档时,我收到以下错误。

“tab元素中指定的DocumentId不引用此信封中的文档.Tab引用的DocumentId 41791752不存在。”

任何帮助将不胜感激。 谢谢。

这是我的代码:

string xmlBody = "" + "DocuSign API - Signature Request"" + "sent" + // "sent" to send immediately, "created" to save as draft in your account "" + "" + "" + "" + "1" + "" + templateID + "" + "" + "" + "" + "" + "2" + "" + "" + "" + "1" + "" + recipientEmail + "" + "" + recipientName + "" + "Signer" + "" + "" + "" + "" + "" + "" + "" + documentName + "" + "1" + "" + "" + "" + ""; 

您引用的错误消息:

tab元素中指定的DocumentId不引用此信封中的文档。 Tab指的是DocumentId 41791752,它不存在。

我建议模板是指那个documentId。 但是您将文档注册为Id 1。

尝试改变

  "1" + to "41791752" +