[英]How to add document in DocuSign
I have following request to be sent to DocuSign API, 我有以下要求要发送到DocuSign API,
"emailSubject": 'DocuSign API - Signature Request on Document Call',
"documents": [{
"name": test.pdf,
"documentId": 1,
}]
What I dont understand is, where should the documents name be present and what about the documentId. 我不明白的是,文档名称应该出现在哪里,documentId应该是什么。
I got an error as follows: 我收到如下错误:
{ errorCode: 'INVALID_REQUEST_PARAMETER',
message: 'The request contained at least one invalid parameter. A document was defined without setting the \'name\' field.' }
Error calling webservice, status is: 400
I think it cannot find the pdf. 我认为找不到pdf。
您应该在name
字段中填写正确的路径:
"name": "path/to/existing/pdf/test.pdf",
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.