DocuSign - getting void envelope reason

白昼怎懂夜的黑 提交于 2019-12-12 06:23:43

问题


How can I get the reason an envelope was voided thru the API? The envelope could be voided in multiple ways so it would be nice to know if it was voided because it expired as opposed to if the sender voided it. Can this be added to the envelope status object?


回答1:


When you get status of an envelope through REST, voidedReason is one of the responses.

https://demo.docusign.net/restapi/v2/account/{accountId}/envelopes/{envelopeId}

status:"voided",
..
voidedDateTime:"2014-02-02T11:37:18.5500000Z",
voidedReason:"Envelope has expired."

When an envelope has expired, it will show: "Envelope has expired."

When someone declines or cancels an envelope, it will show the comments they entered in the text box upon voiding.

These responses given above do not show unless the envelope is in a voided status, so you'll want your request to only use this information is status is equal to 'voided'



来源:https://stackoverflow.com/questions/22968075/docusign-getting-void-envelope-reason

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!