| 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; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
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: text/jsv
Content-Type: text/jsv
Content-Length: length
{
ClientKey: String,
AuthorizationID: String,
UserSSN: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Result:
{
SignerName: String,
SignerUserSSN: String,
SignerProvider: String,
SignerCertStartDate: String,
SignerCertEndDate: String,
SignerCertBase64: String
},
ServiceSuccessResult: False,
ErrorMesage: String
}