2015-10-19 70 views
1

我正尝试使用Docusign(使用RestAPI)发送签名文档,它有一个收件人作为签名者和一个作为Carbon Copy。我在下面粘贴了JSON,并且在演示环境中调用Rest API时也收到了成功消息。Docusign Rest API CarbonCopy不工作

但是指定为CarbonCopy从来没有得到电子邮件的收件人,签名者做自的DocuSign

"emailSubject" : "This is the Subject of the Message", 
    "emailBlurb" : "This is the Body of the message", 
    "recipients" : { 
    "signers" : [ { 
     "routingOrder" : "1", 
     "name" : "Signer 1", 
     "email" : "[email protected]", 
     "recipientId" : "1", 
     "tabs" : { 
     "signHereTabs" : [ { 
      "anchorString" : "By:", 
      "anchorXOffset" : "0", 
      "anchorYOffset" : "0", 
      "anchorIgnoreIfNotPresent" : "true", 
      "anchorUnits" : "inches" 
     } ] 
     } 
    } ], 
    "carbonCopies" : [ { 
     "routingOrder" : "2", 
     "recipientId" : "2", 
     "name" : "Carbon Copy1", 
     "email" : "[email protected]" 
    } ] 
    }, 
    "documents" : [ { 
    "name" : "document.pdf", 
    "documentId" : "1", 
    "bytes" : "document Bytes go here - Omitted to make it readable" 
    } ], 
    "status" : "sent" 
} 

成功消息收到

{ "envelopeId": "95c0cd64-7b4e-4d98-ad9c-ae74c08cf7f9", "uri": "/envelopes/95c0cd64-7b4e-4d98-ad9c-ae74c08cf7f9", "statusDateTime": "2015-10-19T21:00:30.7100000Z", "status": "sent"} 
+1

您在路由顺序2中拥有CC。签名人是否完成了信封?如果不是,那么CC将不会收到电子邮件,直到他们在路由顺序中的步骤。 –

+0

是的,我确实改变了1的路由顺序,正如您所提到的那样,这正是我所得到的行为,如何在发送文档时获得电子邮件副本。目前他们两个的路由顺序都设置为1,但拷贝只在文件完成时才得到文件 – developer2015

+0

如果我把两者的路由顺序都设为1,我得到这个错误{“errorCode”:“ENVELOPE_HAS_DUPLICATE_RECIPIENTS”,“消息“:”指定的信封有重复的收件人。“} – developer2015

回答

1

是临危电子邮件和我没有解决形成了碳问题复制路由命令始终高于签署者,因此在上面的JSON中只是颠倒了路由顺序,并且它对我有用