"use strict";
export class GetImage {
/** @param {{ImageID?:string,FileName?:string,Image?:string,LastUpdate?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
ImageID;
/** @type {string} */
FileName;
/** @type {string} */
Image;
/** @type {string} */
LastUpdate;
}
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 /jsv/reply/GetImage HTTP/1.1
Host: dogw.klokgroep.nl
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
FileName: String,
Image: AA==,
LastUpdate: 0001-01-01
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
FileName: String,
Image: AA==,
LastUpdate: 0001-01-01
}