| All Verbs | /DownloadDocument/{ClientKey} |
|---|
"use strict";
export class DownloadDocumentResponse {
/** @param {{Result?:string,ServiceSuccessResult?:boolean,ErrorMesage?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
Result;
/** @type {boolean} */
ServiceSuccessResult;
/** @type {string} */
ErrorMesage;
}
export class DownloadDocument {
/** @param {{ClientKey?:string,AuthorizationID?:string,UserSSN?:string,DocumentId?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
ClientKey;
/** @type {string} */
AuthorizationID;
/** @type {string} */
UserSSN;
/** @type {number} */
DocumentId;
}
JavaScript DownloadDocument DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /DownloadDocument/{ClientKey} HTTP/1.1
Host: imzagerservices.eyyubiye.bel.tr
Accept: application/json
Content-Type: application/json
Content-Length: length
{"ClientKey":"String","AuthorizationID":"String","UserSSN":"String","DocumentId":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"Result":"AA==","ServiceSuccessResult":false,"ErrorMesage":"String"}