ImzagerServices

<back to all web services

GetCertificate

The following routes are available for this service:
All Verbs/GetCertificate/{ClientKey}
"use strict";
export class DabCertificateClass {
    /** @param {{SignerName?:string,SignerUserSSN?:string,SignerProvider?:string,SignerCertStartDate?:string,SignerCertEndDate?:string,SignerCertBase64?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    SignerName;
    /** @type {string} */
    SignerUserSSN;
    /** @type {string} */
    SignerProvider;
    /** @type {string} */
    SignerCertStartDate;
    /** @type {string} */
    SignerCertEndDate;
    /** @type {string} */
    SignerCertBase64;
}
export class GetCertificateResponse {
    /** @param {{Result?:DabCertificateClass,ServiceSuccessResult?:boolean,ErrorMesage?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {DabCertificateClass} */
    Result;
    /** @type {boolean} */
    ServiceSuccessResult;
    /** @type {string} */
    ErrorMesage;
}
export class GetCertificate {
    /** @param {{ClientKey?:string,AuthorizationID?:string,UserSSN?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    ClientKey;
    /** @type {string} */
    AuthorizationID;
    /** @type {string} */
    UserSSN;
}

JavaScript 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
}