问题描述
如何获得信封通过API的原因?信封可以通过多种方式作业,因此很高兴知道它是否已作用,因为它已过期,而不是发件人为它效仿.可以将其添加到信封状态对象吗?
推荐答案
当您通过休息获得信封状态时,voidedReason是响应之一.
问题描述
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?
推荐答案
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'