答案 0 :(得分:0)
我讨厌陈述显而易见的,但只是寻找" void"在SOAP或REST api文档中,您都会看到它。
<强> SOAP:强>
SOAPAction: "http://www.docusign.net/API/3.0/VoidEnvelope"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<VoidEnvelope xmlns="http://www.docusign.net/API/3.0">
<EnvelopeID>string</EnvelopeID>
<Reason>string</Reason>
</VoidEnvelope>
</soap:Body>
</soap:Envelope>
<强> REST:强>
PUT https://{server}/restapi/{apiVersion}/accounts/{accountId}/envelopes/
{envelopeId}
X-DocuSign-Authentication:
<DocuSignCredentials><Username>{name}</Username><Password>{password}</Password><Integrato
rKey>{integrator_key}</IntegratorKey></DocuSignCredentials>
Accept: application/json
Content-Type: application/json
{
"status":"voided",
"voidedReason":"voided for incorrect recipient"
}