We've been developing a web application which uses DocuSign's API for around a year now and it was just updated to version 2.1, which seems to have caused an issue with our application. One use case for our application, which is now unable to work, is as follows:
A document has errors and needs to be sent back to our representatives and clients while maintaining information that was already filled in to be re-signed, but the simple cloning of an envelope removes all information filled in.
In order to circumvent this problem and get our application functioning as intended, we do the following:
- Get a list of all of the tabs on the envelope
- Clone the envelope as a draft (status: 'created')
- Delete all of the tabs off of the newly cloned envelope
- Making modifications such as removing any signatures from signature boxes
- Add all of the tabs to the cloned envelope
- Send the envelope
This all worked until around the end of last week (v2.1 of the API releasing on 08/02) when we realized that tabs were starting to be duplicated. After some investigation, we noticed that the tabs being duplicated were set to be "Restrict Changes" and were not being deleted by our API calls which used to override that sender permission. Since then, we've tried simply updating the cloned tabs with a PUT request after adding a value to certain tabs, which also gives us an INVALID_TAB_OPERATION error. While we haven't seen any documentation in the v2.1 update to suggest that change, we believe it has happened, whether it be a feature or a bug.
So the question is: was this change intended and can it be circumvented somehow to get our application functioning? If it was an intended change, can admins have an option to allow API calls to override these types of lock outs?