ImzagerServices

<back to all web services

GetCertificate

The following routes are available for this service:
All Verbs/GetCertificate/{ClientKey}
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class GetCertificate
    {
        public String ClientKey = null;
        public String AuthorizationID = null;
        public String UserSSN = null;
        
        public String getClientKey() { return ClientKey; }
        public GetCertificate setClientKey(String value) { this.ClientKey = value; return this; }
        public String getAuthorizationID() { return AuthorizationID; }
        public GetCertificate setAuthorizationID(String value) { this.AuthorizationID = value; return this; }
        public String getUserSSN() { return UserSSN; }
        public GetCertificate setUserSSN(String value) { this.UserSSN = value; return this; }
    }

    public static class GetCertificateResponse
    {
        public DabCertificateClass Result = null;
        public Boolean ServiceSuccessResult = null;
        public String ErrorMesage = null;
        
        public DabCertificateClass getResult() { return Result; }
        public GetCertificateResponse setResult(DabCertificateClass value) { this.Result = value; return this; }
        public Boolean isServiceSuccessResult() { return ServiceSuccessResult; }
        public GetCertificateResponse setServiceSuccessResult(Boolean value) { this.ServiceSuccessResult = value; return this; }
        public String getErrorMesage() { return ErrorMesage; }
        public GetCertificateResponse setErrorMesage(String value) { this.ErrorMesage = value; return this; }
    }

    public static class DabCertificateClass
    {
        public String SignerName = null;
        public String SignerUserSSN = null;
        public String SignerProvider = null;
        public String SignerCertStartDate = null;
        public String SignerCertEndDate = null;
        public String SignerCertBase64 = null;
        
        public String getSignerName() { return SignerName; }
        public DabCertificateClass setSignerName(String value) { this.SignerName = value; return this; }
        public String getSignerUserSSN() { return SignerUserSSN; }
        public DabCertificateClass setSignerUserSSN(String value) { this.SignerUserSSN = value; return this; }
        public String getSignerProvider() { return SignerProvider; }
        public DabCertificateClass setSignerProvider(String value) { this.SignerProvider = value; return this; }
        public String getSignerCertStartDate() { return SignerCertStartDate; }
        public DabCertificateClass setSignerCertStartDate(String value) { this.SignerCertStartDate = value; return this; }
        public String getSignerCertEndDate() { return SignerCertEndDate; }
        public DabCertificateClass setSignerCertEndDate(String value) { this.SignerCertEndDate = value; return this; }
        public String getSignerCertBase64() { return SignerCertBase64; }
        public DabCertificateClass setSignerCertBase64(String value) { this.SignerCertBase64 = value; return this; }
    }

}

Java GetCertificate DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /GetCertificate/{ClientKey} HTTP/1.1 
Host: imzagerservices.eyyubiye.bel.tr 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<GetCertificate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DaB.Imzager.Services.ServiceModel">
  <AuthorizationID>String</AuthorizationID>
  <ClientKey>String</ClientKey>
  <UserSSN>String</UserSSN>
</GetCertificate>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetCertificateResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DaB.Imzager.Services.ServiceModel">
  <ErrorMesage>String</ErrorMesage>
  <Result>
    <SignerCertBase64>String</SignerCertBase64>
    <SignerCertEndDate>String</SignerCertEndDate>
    <SignerCertStartDate>String</SignerCertStartDate>
    <SignerName>String</SignerName>
    <SignerProvider>String</SignerProvider>
    <SignerUserSSN>String</SignerUserSSN>
  </Result>
  <ServiceSuccessResult>false</ServiceSuccessResult>
</GetCertificateResponse>