The Preserve_unregister method

Allows unregistering a document and preserved electronic signatures from further preservation in the SecuSign qualified service.

Service description including WSDL schema, and an example request and response for SOAP 1.1 and SOAP 1.2 are located at https://localhost/secusign/default.asmx?op=Preserve_unregister.

Localhost is the name used for the local computer; write the SDK server name/IP address instead (according to the settings in IIS).

Request in SOAP 1.1 interface

POST /secusign/default.asmx HTTP/1.1
Host: localhost
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://software602.com/secusign/Preserve_unregister"

<?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>
    <Preserve_unregister xmlns="http://software602.com/secusign/">
      <DocID>string</DocID>
      <Params>string</Params>
    </Preserve_unregister>
  </soap:Body>
</soap:Envelope>

Input parameters of the method

<DocID>

[mandatory element]

Input Description

String

Unique identifier of the preserved document with treated electronic signatures. It was generated automatically during the preservation process in the SecuSign service. Can be found in the account’s user interface. Max. 128 characters.

<Params>

[optional element]

Input Description

String

Optional, contains other parameters. Not in use yet.

Response structure

HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?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>
    <Preserve_unregisterResponse xmlns="http://software602.com/secusign/">
      <Preserve_unregisterResult>int</Preserve_unregisterResult>
      <StatusMessage>string</StatusMessage>
    </Preserve_unregisterResponse>
  </soap:Body>
</soap:Envelope>

Output parameters of the method

<Preserve_unregisterResult>

Return value Description

int

Result of the Preserve_unregister method (unregistration of a document with electronic signatures).

0 = OK, otherwise see Return codes of all methods and error described in StatusMessage.

<StatusMessage>

Return value Description

String

Text statement corresponding to the overall result of unregistering a document with electronic signatures in the SecuSign service. The value is only filled if the result is complicated.