【问题标题】:docusign api envelope expirationdocusign api 信封过期
【发布时间】:2014-03-20 17:30:37
【问题描述】:

您能帮我解决以下问题吗: 我正在使用演示登录。我正在尝试使用 java 发送签名文档。我需要将信封上的有效期设置为 1 天。我尝试在下面使用,但它没有在我的信封上设置过期时间。

<envelopeDefinition xmlns="http://www.docusign.com/restapi">
<emailSubject>Contract for Signature</emailSubject>
<status>sent</status>
<notification>
    <expirations>
        <expiration>
            <expirationEnabled>true</expirationEnabled>
            <expirationAfter>1</expirationAfter>
            <expirationWarn>1</expirationWarn>
        </expiration>
    </expirations>
</notification>
<documents>
    <document>
        <name>  documentName  </name>
        <documentId>1</documentId>
        <order>1</order>
    </document>
</documents>
<recipients>
    <signers>
        <signer>
            <email>  custEmail  </email>
            <name> recipientNameCust  </name>
            <recipientId>1</recipientId>
            <routingOrder>1</routingOrder>
            <tabs>
                <signHereTabs>
                    <signHere>
                        <anchorString>SIGNED on behalf of the Customer</anchorString>
                        <anchorXOffset>10</anchorXOffset>
                        <anchorYOffset>50</anchorYOffset>
                        <anchorIgnoreIfNotPresent>false</anchorIgnoreIfNotPresent>
                        <anchorUnits>Pixels</anchorUnits>
                        <documentId>1</documentId>
                        <recipientId>1</recipientId>
                        <tabLabel>Sign Here1</tabLabel>
                        <name>SignHere1</name>
                    </signHere>
                </signHereTabs>
            </tabs>
        </signer>
        <signer>
            <email>  receipientEmail  </email>
            <name>  recipientNameTotal  </name>
            <recipientId>2</recipientId>
            <routingOrder>2</routingOrder>
            <tabs>
                <signHereTabs>
                    <signHere>
                        <anchorString>SIGNED on behalf of Total</anchorString>
                        <anchorXOffset>10</anchorXOffset>
                        <anchorYOffset>50</anchorYOffset>
                        <anchorIgnoreIfNotPresent>false</anchorIgnoreIfNotPresent>
                        <anchorUnits>Pixels</anchorUnits>
                        <documentId>1</documentId>
                        <recipientId>2</recipientId>
                        <tabLabel>Sign Here2</tabLabel>
                        <name>SignHere2</name>
                    </signHere>
                </signHereTabs>
            </tabs>
        </signer>
    </signers>
</recipients>

api 文档将这些标签称为 -expireEnabled 而不是 expirationEnabled、expireAfter 而不是 expireAfter、expireWarn 而不是 expireWarn。所以我也尝试了这些标签,但它仍然没有用。如果上面的xml有什么问题,请告诉我。 在帐户管理/设置默认提醒到期下的门户中,未选中“不允许用户覆盖”复选框。过期/无效信封也设置为 2 天。但是我所有的信封都是用过期设置为 120 天创建的。

【问题讨论】:

  • 它适用于以下情况:请忽略上述查询。 true10 谢谢。
  • REST API 指南中的示例需要更正。

标签: docusignapi envelope


【解决方案1】:

使用以下 XML:

<notification>
   <expirations>
      <expireEnabled>true</expireEnabled>
      <expireAfter>1</expireAfter>
      <expireWarn>0</expireWarn>
   </expirations>
</notification>

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-09-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多