簡體   English   中英

docusign api信封到期

[英]docusign api envelope expiration

您能否通過以下查詢為我提供幫助:我正在使用演示登錄。 我正在嘗試使用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,到期后而不是expirationAfter,到期后則是expirationWarn而不是。 因此,我也嘗試過使用這些標簽,但仍然無法正常工作。 您能否讓我知道以上xml是否有問題。 在門戶網站的“帳戶管理/設置默認提醒到期時間”下,未選中“不允許用戶覆蓋”復選框。 另外,將“過期/無效信封”設置為2天。 但是,我所有的信封都是在120天的有效期設置下創建的。

使用以下XML:

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

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM