DocuSign Carbon Copy未收到备注

时间:2016-07-11 15:31:47

标签: ios swift docusignapi

我在iOS应用程序中使用DocuSign的API来签署文档。除了Carbon Copy体验之外,一切都很顺利。

我有两个签名者,路由命令1和2.然后,我有几个CC收件人,都有路由顺序3.

文档签名后,CC收件人会收到一封电子邮件,提醒他们文档已签名,但他们没有收到他们应该收到的说明。我知道我正在设置这个属性:当CC收件人的路由顺序为1或2时,他们会收到一封带有该笔记的电子邮件,然后他们会在签署文件时收到一封电子邮件。

如何让我的CC收件人在正确的时间点收到他们的电子邮件,并附上我希望他们看到的说明?

这是来自DocuSign的日志:

POST https://na2.docusign.net:8822/restapi/v2/accounts/6580857/envelopes
Content-Length: 284777
Content-Type: application/json
Connection: keep-alive
Accept: application/json
Accept-Language: en-US; q=1.0
Host: na2.docusign.net
User-Agent: Sales/1.0(iPhone; iOS 9.3.2; Scale/2.00)
X-DocuSign-Authentication: {"Username":"[email1]","Password":"[omitted]","IntegratorKey":"[omitted]"}
X-DocuSign-SDK: Obj-C
X-Forwarded-For: 69.74.21.33
X-SecurityProtocol-Version: TLSv1.2
X-SecurityProtocol-CipherSuite: ECDHE-RSA-AES256-GCM-SHA384

{"status":"sent","documents":[{"documentId":"1","documentBase64":"[omitted]","name":"Test Name"}],"emailSubject":"Subject","emailBlurb":"","recipients":{"signers":[{"email":"[email1]","routingOrder":"1","clientUserId":"1001","tabs":"[omitted]", recipientId":"1","name":"John Doe"},{"note":"This is a note that appears during the signing experience","tabs":"[omitted]","email":"[email2]","clientUserId":"1002","routingOrder":"2","recipientId":"2","name":"Jane Doe"}],"carbonCopies":[{"roleName":"Carbon Copy","routingOrder":"3","email":"[email3]","recipientId":"3","note":"This note does not appear in the email sent to the address.","name":"John Smith"}]}}
201 Created
Content-Type: application/json; charset=utf-8

{
  "envelopeId": "f3421750-6884-4f84-a318-d4637151222c",
  "uri": "/envelopes/f3421750-6884-4f84-a318-d4637151222c",
  "statusDateTime": "2016-07-12T12:51:24.4870000Z",
  "status": "sent"
}

我注意到我将电子邮件模糊部分留空了。这可能是一个潜在的解决方案,还是该字段的内容会显示给签名中涉及的所有各方?在实践中,我需要能够为几个CC收件人提供几个不同的注释。据我所知,这可以在DocuSign的网站上实现,所以我不明白为什么不能通过API完成。

1 个答案:

答案 0 :(得分:0)

事实上,我的问题似乎是由于对DocuSign API的误解造成的。 note字段旨在提供仅在签名体验期间出现的注释,而"emailNotification":{"emailSubject":"TEST","emailBody":"TEST"}字段旨在实现我想要实现的目标。