通过API 3.0发送DocuSign信封不再触发提醒或过期警告

时间:2019-04-25 23:09:53

标签: docusignapi

自2007年以来,我们的软件已与DocuSign集成。我们从未包含通知元素,并且该公司使用该集成始终能够使用DocuSign Admin来控制这些设置。由于某种原因,它不再起作用。我正在使用演示环境进行测试。 DocuSign发生了变化吗?

这是一个CreateAndSendEnvelope请求示例。

<?xml version="1.0" encoding="Windows-1252"?>
<Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <AccountId xmlns="http://www.docusign.net/API/3.0">7ee2da0d-256c-4f73-8e7d-cd1bf921b2c1</AccountId>
  <Documents xmlns="http://www.docusign.net/API/3.0">
    <Document>
      <ID>1067</ID>
      <Name>Test DocuSign Lead</Name>
      <PDFBytes>JVBERi0xLjMNCjEgMCBvYmoNClsvUERGIC9UZXh0IC9JbWFnZUIgL0ltYWdlQyAvSW1hZ2VJXQ0KZW5kb2JqDQo1IDAgb2JqDQo8PCAvTGVuZ3RoIDY0NyAvRmlsdGVyIC9GbGF0ZURlY29kZSA+PiBzdHJlYW0NCnicrZZNb5tAEIbvkfwf5tj2sGE/BnZzqRS7bVJVVVMj9WDlQPDWcW0gxU6j/PvOLrZLDFixqZBWfOy8z7yzy8Dg7DdEggU0gAo1nYTKjaWFH5AP6KmW7qZBGjEIaOSq9vwyhvOPEgwzxkD8EwJ/lDNQKFjENcRfvAIPSYNmcQHxFN58W9pkZWE1n+XwXDyWkBb5ukzSNdzZZfHE3kL8C+J38CEenN24LIzLUSGlpoCH0SlpOAlKQ4WCmdBn8TnJLQyXSblo8KTEGlDjKUCv8ZIIHcZU8Epj3B/txpTaYiZjKuyVLe1t05hSvYFeY484LJKHB4dtIiuLXP4HizzaAUfJutteL9jOXo3m7R1CSh2yQJq+TGmCl8yvSdbC9CWVGLwWeeB9kLhbxFGRPmY2X8PVfLUuyme4Hl1AZFA3+FVTQOO4p9G3TSGU+02BErBl1RXuknwBOVXgopGB0PyYFN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MCAxMQ0KMDAwMDAwMDAwMCA2NTUzNSBmDQowMDAwMDAwMDEwIDAwMDAwIG4NCjAwMDAwMDA3ODkgMDAwMDAgbg0KMDAwMDAwMTU1MyAwMDAwMCBuDQowMDAwMDAwOTYzIDAwMDAwIG4NCjAwMDAwMDAwNjUgMDAwMDAgbg0KMDAwMDAwMTY1MyAwMDAwMCBuDQowMDAwMDAxMzkwIDAwMDAwIG4NCjAwMDAwMDExNjQgMDAwMDAgbg0KMDAwMDAwMTcyMSAwMDAwMCBuDQowMDAwMDAxNzczIDAwMDAwIG4NCnRyYWlsZXIgPDwgL1NpemUgMTEgL1Jvb3QgOSAwIFIgL0luZm8gMTAgMCBSID4+DQpzdGFydHhyZWYNCjIwNTINCiUlRU9G</PDFBytes>
    </Document>
  </Documents>
  <Recipients xmlns="http://www.docusign.net/API/3.0">
    <Recipient>
      <ID>97461</ID>
      <UserName>Jane Clark</UserName>
      <Email>smcmillan@gmail.com</Email>
      <Type>Signer</Type>
      <AccessCode>6541</AccessCode>
      <RoutingOrder>1</RoutingOrder>
    </Recipient>
  </Recipients>
  <Tabs xmlns="http://www.docusign.net/API/3.0">
    <Tab>
      <DocumentID>1067</DocumentID>
      <RecipientID>97461</RecipientID>
      <AnchorTabItem>
        <AnchorTabString>[SignHere]</AnchorTabString>
      </AnchorTabItem>
      <Type>SignHere</Type>
    </Tab>
    <Tab>
      <DocumentID>1067</DocumentID>
      <RecipientID>97461</RecipientID>
      <AnchorTabItem>
        <AnchorTabString>[Date]</AnchorTabString>
      </AnchorTabItem>
      <Type>DateSigned</Type>
    </Tab>
    <Tab>
      <DocumentID>1067</DocumentID>
      <RecipientID>97461</RecipientID>
      <AnchorTabItem>
        <AnchorTabString>[BankName]</AnchorTabString>
      </AnchorTabItem>
      <Type>Custom</Type>
      <Name>Custom Bank Name</Name>
      <TabLabel>Custom Bank Label</TabLabel>
      <CustomTabType>Text</CustomTabType>
      <CustomTabWidth>200</CustomTabWidth>
      <CustomTabHeight>25</CustomTabHeight>
    </Tab>
  </Tabs>
  <Subject xmlns="http://www.docusign.net/API/3.0">CreditSoft - DocuSign</Subject>
  <EmailBlurb xmlns="http://www.docusign.net/API/3.0">Please click link to sign the document</EmailBlurb>

2 个答案:

答案 0 :(得分:0)

帐户设置是否更改了?帐户一级有默认设置。

在测试中,您会收到通知吗?

通过管理工具进行设置:签名和发送/提醒和过期在我的演示帐户中,提醒和过期警告的默认值为off

管理工具屏幕截图:

enter image description here

答案 1 :(得分:0)

DocuSign的更新,一年多以前,他们将Notification.UseAccountDefaults设置为必需。在测试中,我还必须将Notification.UseAccountDefaultsSpecified设置为true。完成此操作后,我的信封将在模拟帐户中显示更正过期和提醒设置。

Dim Notification As Notification = New Notification
    Notification.UseAccountDefaults = True
    Notification.UseAccountDefaultsSpecified = True
    envelope.Notification = Notification