FIBUdataServiceStack

<back to all web services

DokumentUploadRequest

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

public class dtos
{

    public static class DokumentUploadRequest
    {
        public Long dokumente_id = null;
        public String hash = null;
        public ResponseStatus ResponseStatus = null;
        
        public Long getDokumenteId() { return dokumente_id; }
        public DokumentUploadRequest setDokumenteId(Long value) { this.dokumente_id = value; return this; }
        public String getHash() { return hash; }
        public DokumentUploadRequest setHash(String value) { this.hash = value; return this; }
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public DokumentUploadRequest setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
    }

    public static class DokumentUploadResponse
    {
        public dokumente dokument = null;
        
        public dokumente getDokument() { return dokument; }
        public DokumentUploadResponse 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 DokumentUploadRequest 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/DokumentUpload HTTP/1.1 
Host: ws4.fibudata.net 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	dokumente_id: 0,
	hash: String,
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	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
	}
}