| GET, POST | /fibuscan/BeraterDokumentDownload |
|---|
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 BeraterDokumentDownloadRequest
{
public Mandnr: number;
public Dok_id: number;
public constructor(init?: Partial<BeraterDokumentDownloadRequest>) { (Object as any).assign(this, init); }
}
TypeScript BeraterDokumentDownloadRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /fibuscan/BeraterDokumentDownload HTTP/1.1
Host: ws4.fibudata.net
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"Mandnr":0,"Dok_id":0}
HTTP/1.1 200 OK
Content-Type: text/csv
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}}