有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

docusignapi如何使用java将信封状态更改为“void”?

DNS和SVC都有某种调度系统,当调度系统达到某个幻数时,docusign接口必须使信封的状态无效。我只需要java方法将状态更改为“void”。我知道这些文件不能被拒绝和完成。但是对于我正在发展的东西来说,空虚是必要的


共 (1) 个答案

  1. # 1 楼答案

    我不想说显而易见的事情,但只要在SOAPRESTapi文档中搜索“void”,你就会看到它

    肥皂:

    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>
    

    休息:

    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"
    }