| GET, POST | /fibuscan/DokumentDownload |
|---|
export class dokumente implements IPrimaryKey, IMandnr, IDel, ITableBaseErstelltAenderung
{
public ID?: number;
public _erstellt?: string;
public _aenderung?: string;
public mandant?: number;
public Datenindex?: number;
public Dateiname: string;
public zip_dateiname: string;
public SubPfad: string;
public Upload?: number;
public DownloadExt?: number;
public Datum?: string;
public Link: string;
public anlagen: string;
public metadaten: string;
public dateityp?: number;
public del?: number;
public hash: string;
public guid: string;
// @Ignore()
public server_hash: string;
// @Ignore()
public PrimaryKey?: number;
public constructor(init?: Partial<dokumente>) { (Object as any).assign(this, init); }
}
export class DokumentDownloadResponse
{
public dokument_bin: string;
public dokument: dokumente;
public constructor(init?: Partial<DokumentDownloadResponse>) { (Object as any).assign(this, init); }
}
export class DokumentDownloadRequest
{
public expression: string;
public constructor(init?: Partial<DokumentDownloadRequest>) { (Object as any).assign(this, init); }
}
TypeScript DokumentDownloadRequest 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 /fibuscan/DokumentDownload HTTP/1.1
Host: ws4.fibudata.net
Accept: application/json
Content-Type: application/json
Content-Length: length
{"expression":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"dokument_bin":"AA==","dokument":{"ID":0,"_erstellt":"\/Date(-62135596800000-0000)\/","_aenderung":"\/Date(-62135596800000-0000)\/","mandant":0,"Datenindex":0,"Dateiname":"String","zip_dateiname":"String","SubPfad":"String","Upload":0,"DownloadExt":0,"Datum":"\/Date(-62135596800000-0000)\/","Link":"String","anlagen":"String","metadaten":"String","dateityp":0,"del":0,"hash":"String","guid":"String","server_hash":"String","PrimaryKey":0}}