Reputation: 613
I need to set the expiration date for the document sent through API from docusign. I am user xml(not JSON) based request. I have been trying to achieve it with the below but havn't succeeded yet.
<notification>
<expirations>
<expireEnabled>true</expireEnabled>
<expireAfter>1</expireAfter>
<expireWarn>0</expireWarn>
</expirations>
</notification>
Upvotes: 0
Views: 716
Reputation: 2702
If you are still seeing this please share a little more of your request where you specify this in the envelope creation XML, and REST API endpoint. I just created an envelope using the REST API and XML. I used your notification block and it resulted in the following when querying the /notification endpoint for the envelope (in the notification block):
<expirations>
<expireAfter>1</expireAfter>
<expireEnabled>true</expireEnabled>
<expireWarn>0</expireWarn>
</expirations>
<reminders>
<reminderDelay>0</reminderDelay>
<reminderEnabled>false</reminderEnabled>
<reminderFrequency>0</reminderFrequency>
</reminders>
Upvotes: 1