DocuSign:ENVELOPE_IS_INCOMPLETE ERROR

时间:2017-11-27 14:27:24

标签: docusignapi

我正在尝试使用docusign Rest API和JSON从文本文档创建信封,但我们收到以下错误代码

  

“errorCode”:“ENVELOPE_IS_INCOMPLETE”,“message”:“信封不完整。完整的信封需要文档,收件人,标签和主题行。”

有人可以告诉我我错过了什么吗?

请在下面找到我们发送的POST。

POST https://demo.docusign.net:7801/restapi/v2/accounts/XXXX/envelopes
Content-Length: 742
Content-Type: multipart/form-data; boundary=8B10626873356827771077AAF6D55D6E0
Connection: Keep-Alive
Accept: application/json
Host: demo.docusign.net
User-Agent: SAPNetWeaverApplicationServer(1.0;740)
x-docusign-authentication: <DocuSignCredentials><Username>XXXX</Username><Password>[omitted]</Password><IntegratorKey>[omitted]</IntegratorKey></DocuSignCredentials>
X-SecurityProtocol-Version: TLSv1

--8B10626873356827771077AAF6D55D6E0
Content-Type: application/json; charset=utf-8
Content-Length: 376
content-disposition: form-data

{ "emailBlurb": "Test Webui",  "emailSubject": "Test Webui", "status": "sent", "compositeTemplates": [{"inlineTemplates": [{ "sequence": "1", "recipients": { "signers": [{ "recipientId": "1", "name": "JESS", "email": "test@lol.com","defaultRecipient": "true" }] } }],"document": {"documentId": "1","name": "f4506t.txt","transformPdfFields": "true"}  }]}
--8B10626873356827771077AAF6D55D6E0
Content-Type:  application/text; charset=utf-8
Content-Length: 11
content-disposition: file; filename="f4506t.txt"; documentid="1"

Hallo Webui
--8B10626873356827771077AAF6D55D6E0--

0 个答案:

没有答案