detailSigner

Overview

Parameters:

  • String - signer token

Return:

  • Signer - success

  • Exception - failure

To get this signer we need:

  • set your api token.

  • set your signer token.

  • call the method.

Usage:

Import the relevant components:

import body.signer.Signer;
import signers.SignerRequest;

import services.JsonConverter;

Set your Api Token:

String apiToken = "YOUR TOKEN";

Set your signer token.

String signerToken= "SIGNER TOKEN";

Call the method detailSigner and receive the Signer class or an error message as a response:

try {
    Signer signer = new SignerRequest(apiToken).detailSigner(signerToken);
    String jsonDocResponse = new JsonConverter().signerToJson(signer);
    System.out.println(jsonDocResponse);
}
catch(Exception exceptionError) {
    System.out.println(exceptionError.getMessage());
}

Example:

import body.signer.Signer;
import services.JsonConverter;
import signers.SignerRequest;

public class DetailSigner {
    public static void main(String[] args) throws Exception {
        String apiToken = "YOUR TOKEN";
        String signerToken= "SIGNER TOKEN";

        try {
            Signer signer = new SignerRequest(apiToken).detailSigner(signerToken);
            String jsonDocResponse = new JsonConverter().signerToJson(signer);
            System.out.println(jsonDocResponse);
        }
        catch(Exception exceptionError) {
            System.out.println(exceptionError.getMessage());
        }
    }
}