FIBUdataServiceStack

<back to all web services

BeraterDokumentDownloadRequest

The following routes are available for this service:
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 .jsv suffix or ?format=jsv

HTTP + JSV

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/jsv
Content-Type: text/jsv
Content-Length: length

{
	Mandnr: 0,
	Dok_id: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	dokument_bin: AA==,
	dokument: 
	{
		ID: 0,
		_erstellt: 0001-01-01,
		_aenderung: 0001-01-01,
		mandant: 0,
		Datenindex: 0,
		Dateiname: String,
		zip_dateiname: String,
		SubPfad: String,
		Upload: 0,
		DownloadExt: 0,
		Datum: 0001-01-01,
		Link: String,
		anlagen: String,
		metadaten: String,
		dateityp: 0,
		del: 0,
		hash: String,
		guid: String,
		server_hash: String,
		PrimaryKey: 0
	}
}