FIBUdataServiceStack

<back to all web services

DokumentDownloadRequest

The following routes are available for this service:
GET, POST/fibuscan/DokumentDownload
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class DokumentDownloadRequest
    {
        public String expression = null;
        
        public String getExpression() { return expression; }
        public DokumentDownloadRequest setExpression(String value) { this.expression = value; return this; }
    }

    public static class DokumentDownloadResponse
    {
        public byte[] dokument_bin = null;
        public dokumente dokument = null;
        
        public byte[] getDokumentBin() { return dokument_bin; }
        public DokumentDownloadResponse setDokumentBin(byte[] value) { this.dokument_bin = value; return this; }
        public dokumente getDokument() { return dokument; }
        public DokumentDownloadResponse setDokument(dokumente value) { this.dokument = value; return this; }
    }

    public static class dokumente implements IPrimaryKey, IMandnr, IDel, ITableBaseErstelltAenderung
    {
        public Long ID = null;
        public Date _erstellt = null;
        public Date _aenderung = null;
        public Long mandant = null;
        public Long Datenindex = null;
        public String Dateiname = null;
        public String zip_dateiname = null;
        public String SubPfad = null;
        public Integer Upload = null;
        public Integer DownloadExt = null;
        public Date Datum = null;
        public String Link = null;
        public String anlagen = null;
        public String metadaten = null;
        public Integer dateityp = null;
        public Long del = null;
        public String hash = null;
        public String guid = null;
        @Ignore()
        public String server_hash = null;

        @Ignore()
        public Long PrimaryKey = null;
        
        public Long getId() { return ID; }
        public dokumente setId(Long value) { this.ID = value; return this; }
        public Date getErstellt() { return _erstellt; }
        public dokumente setErstellt(Date value) { this._erstellt = value; return this; }
        public Date getAenderung() { return _aenderung; }
        public dokumente setAenderung(Date value) { this._aenderung = value; return this; }
        public Long getMandant() { return mandant; }
        public dokumente setMandant(Long value) { this.mandant = value; return this; }
        public Long getDatenindex() { return Datenindex; }
        public dokumente setDatenindex(Long value) { this.Datenindex = value; return this; }
        public String getDateiname() { return Dateiname; }
        public dokumente setDateiname(String value) { this.Dateiname = value; return this; }
        public String getZipDateiname() { return zip_dateiname; }
        public dokumente setZipDateiname(String value) { this.zip_dateiname = value; return this; }
        public String getSubPfad() { return SubPfad; }
        public dokumente setSubPfad(String value) { this.SubPfad = value; return this; }
        public Integer getUpload() { return Upload; }
        public dokumente setUpload(Integer value) { this.Upload = value; return this; }
        public Integer getDownloadExt() { return DownloadExt; }
        public dokumente setDownloadExt(Integer value) { this.DownloadExt = value; return this; }
        public Date getDatum() { return Datum; }
        public dokumente setDatum(Date value) { this.Datum = value; return this; }
        public String getLink() { return Link; }
        public dokumente setLink(String value) { this.Link = value; return this; }
        public String getAnlagen() { return anlagen; }
        public dokumente setAnlagen(String value) { this.anlagen = value; return this; }
        public String getMetadaten() { return metadaten; }
        public dokumente setMetadaten(String value) { this.metadaten = value; return this; }
        public Integer getDateityp() { return dateityp; }
        public dokumente setDateityp(Integer value) { this.dateityp = value; return this; }
        public Long getDel() { return del; }
        public dokumente setDel(Long value) { this.del = value; return this; }
        public String getHash() { return hash; }
        public dokumente setHash(String value) { this.hash = value; return this; }
        public String getGuid() { return guid; }
        public dokumente setGuid(String value) { this.guid = value; return this; }
        public String getServerHash() { return server_hash; }
        public dokumente setServerHash(String value) { this.server_hash = value; return this; }
        public Long getPrimaryKey() { return PrimaryKey; }
        public dokumente setPrimaryKey(Long value) { this.PrimaryKey = value; return this; }
    }

}

Java DokumentDownloadRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

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/xml
Content-Type: application/xml
Content-Length: length

<DokumentDownloadRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Messages">
  <expression>String</expression>
</DokumentDownloadRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<DokumentDownloadResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Messages">
  <dokument xmlns:d2p1="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Models">
    <d2p1:Dateiname>String</d2p1:Dateiname>
    <d2p1:Datenindex>0</d2p1:Datenindex>
    <d2p1:Datum>0001-01-01T00:00:00</d2p1:Datum>
    <d2p1:DownloadExt>0</d2p1:DownloadExt>
    <d2p1:ID>0</d2p1:ID>
    <d2p1:Link>String</d2p1:Link>
    <d2p1:PrimaryKey>0</d2p1:PrimaryKey>
    <d2p1:SubPfad>String</d2p1:SubPfad>
    <d2p1:Upload>0</d2p1:Upload>
    <d2p1:_aenderung>0001-01-01T00:00:00</d2p1:_aenderung>
    <d2p1:_erstellt>0001-01-01T00:00:00</d2p1:_erstellt>
    <d2p1:anlagen>String</d2p1:anlagen>
    <d2p1:dateityp>0</d2p1:dateityp>
    <d2p1:del>0</d2p1:del>
    <d2p1:guid>String</d2p1:guid>
    <d2p1:hash>String</d2p1:hash>
    <d2p1:mandant>0</d2p1:mandant>
    <d2p1:metadaten>String</d2p1:metadaten>
    <d2p1:server_hash>String</d2p1:server_hash>
    <d2p1:zip_dateiname>String</d2p1:zip_dateiname>
  </dokument>
  <dokument_bin>AA==</dokument_bin>
</DokumentDownloadResponse>