| All Verbs | /SignContentV2/{ClientKey} |
|---|
"use strict";
export class SignContentResponse {
/** @param {{Result?:boolean,ServiceSuccessResult?:boolean,ErrorMesage?:string,Content?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {boolean} */
Result;
/** @type {boolean} */
ServiceSuccessResult;
/** @type {string} */
ErrorMesage;
/** @type {string} */
Content;
}
export class SignContentV2 {
/** @param {{ClientKey?:string,AuthorizationID?:string,UserSSN?:string,Content?:string,SignerSSN?:string,SignerEMail?:string,SignMessage?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
ClientKey;
/** @type {string} */
AuthorizationID;
/** @type {string} */
UserSSN;
/** @type {string} */
Content;
/** @type {string} */
SignerSSN;
/** @type {string} */
SignerEMail;
/** @type {string} */
SignMessage;
}
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 /SignContentV2/{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,
Content: AA==,
SignerSSN: String,
SignerEMail: String,
SignMessage: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Result: False,
ServiceSuccessResult: False,
ErrorMesage: String,
Content: AA==
}