ImzagerServices

<back to all web services

GetCertificate

The following routes are available for this service:
All Verbs/GetCertificate/{ClientKey}

export class DabCertificateClass
{
    public SignerName: string;
    public SignerUserSSN: string;
    public SignerProvider: string;
    public SignerCertStartDate: string;
    public SignerCertEndDate: string;
    public SignerCertBase64: string;

    public constructor(init?: Partial<DabCertificateClass>) { (Object as any).assign(this, init); }
}

export class GetCertificateResponse
{
    public Result: DabCertificateClass;
    public ServiceSuccessResult: boolean;
    public ErrorMesage: string;

    public constructor(init?: Partial<GetCertificateResponse>) { (Object as any).assign(this, init); }
}

export class GetCertificate
{
    public ClientKey: string;
    public AuthorizationID: string;
    public UserSSN: string;

    public constructor(init?: Partial<GetCertificate>) { (Object as any).assign(this, init); }
}

TypeScript GetCertificate DTOs

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

HTTP + 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
}