FIBUdataServiceStack

<back to all web services

DokumentDownloadRequest

The following routes are available for this service:
GET, POST/fibuscan/DokumentDownload
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using FIBUdataServiceStack.ServiceModel.Messages;
using FIBUdataServiceStack.ServiceModel.Models;

namespace FIBUdataServiceStack.ServiceModel.Messages
{
    public partial class DokumentDownloadRequest
    {
        public virtual string expression { get; set; }
    }

    public partial class DokumentDownloadResponse
    {
        public DokumentDownloadResponse()
        {
            dokument_bin = new byte[]{};
        }

        public virtual byte[] dokument_bin { get; set; }
        public virtual dokumente dokument { get; set; }
    }

}

namespace FIBUdataServiceStack.ServiceModel.Models
{
    public partial class dokumente
        : IPrimaryKey, IMandnr, IDel, ITableBaseErstelltAenderung
    {
        public virtual long? ID { get; set; }
        public virtual DateTime? _erstellt { get; set; }
        public virtual DateTime? _aenderung { get; set; }
        public virtual long? mandant { get; set; }
        public virtual long? Datenindex { get; set; }
        public virtual string Dateiname { get; set; }
        public virtual string zip_dateiname { get; set; }
        public virtual string SubPfad { get; set; }
        public virtual int? Upload { get; set; }
        public virtual int? DownloadExt { get; set; }
        public virtual DateTime? Datum { get; set; }
        public virtual string Link { get; set; }
        public virtual string anlagen { get; set; }
        public virtual string metadaten { get; set; }
        public virtual int? dateityp { get; set; }
        public virtual long? del { get; set; }
        public virtual string hash { get; set; }
        public virtual string guid { get; set; }
        [Ignore]
        public virtual string server_hash { get; set; }

        [Ignore]
        public virtual long? PrimaryKey { get; set; }
    }

}

C# DokumentDownloadRequest 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/DokumentDownload HTTP/1.1 
Host: ws4.fibudata.net 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	expression: String
}
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
	}
}