| GET, POST | /fibuscan/Onlinehandel/Upload |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class OnlinehandelUploadRequest
{
public Oem oem = null;
public String fileName = null;
public Integer Dateityp = null;
public String Dateiname = null;
public Integer Textcodierung = null;
public String Trennzeichen = null;
public Integer Datumskonvertierung = null;
public Integer Betragskonvertierung = null;
public String kopf_faengt_mit = null;
public String standard_waehrung = null;
public Oem getOem() { return oem; }
public OnlinehandelUploadRequest setOem(Oem value) { this.oem = value; return this; }
public String getFileName() { return fileName; }
public OnlinehandelUploadRequest setFileName(String value) { this.fileName = value; return this; }
public Integer getDateityp() { return Dateityp; }
public OnlinehandelUploadRequest setDateityp(Integer value) { this.Dateityp = value; return this; }
public String getDateiname() { return Dateiname; }
public OnlinehandelUploadRequest setDateiname(String value) { this.Dateiname = value; return this; }
public Integer getTextcodierung() { return Textcodierung; }
public OnlinehandelUploadRequest setTextcodierung(Integer value) { this.Textcodierung = value; return this; }
public String getTrennzeichen() { return Trennzeichen; }
public OnlinehandelUploadRequest setTrennzeichen(String value) { this.Trennzeichen = value; return this; }
public Integer getDatumskonvertierung() { return Datumskonvertierung; }
public OnlinehandelUploadRequest setDatumskonvertierung(Integer value) { this.Datumskonvertierung = value; return this; }
public Integer getBetragskonvertierung() { return Betragskonvertierung; }
public OnlinehandelUploadRequest setBetragskonvertierung(Integer value) { this.Betragskonvertierung = value; return this; }
public String getKopfFaengtMit() { return kopf_faengt_mit; }
public OnlinehandelUploadRequest setKopfFaengtMit(String value) { this.kopf_faengt_mit = value; return this; }
public String getStandardWaehrung() { return standard_waehrung; }
public OnlinehandelUploadRequest setStandardWaehrung(String value) { this.standard_waehrung = value; return this; }
}
public static enum Oem
{
Fibudata(0),
Spectrum(3);
private final int value;
Oem(final int intValue) { value = intValue; }
public int getValue() { return value; }
}
public static class OnlinehandelUploadResponse
{
public ArrayList<ArrayList<String>> Liste = null;
public Integer colsCount = null;
public String guid = null;
public String kopf_hash = null;
public ArrayList<OnlinehandelKonfig> KopfOptionen = null;
public ArrayList<ArrayList<String>> getListe() { return Liste; }
public OnlinehandelUploadResponse setListe(ArrayList<ArrayList<String>> value) { this.Liste = value; return this; }
public Integer getColsCount() { return colsCount; }
public OnlinehandelUploadResponse setColsCount(Integer value) { this.colsCount = value; return this; }
public String getGuid() { return guid; }
public OnlinehandelUploadResponse setGuid(String value) { this.guid = value; return this; }
public String getKopfHash() { return kopf_hash; }
public OnlinehandelUploadResponse setKopfHash(String value) { this.kopf_hash = value; return this; }
public ArrayList<OnlinehandelKonfig> getKopfOptionen() { return KopfOptionen; }
public OnlinehandelUploadResponse setKopfOptionen(ArrayList<OnlinehandelKonfig> value) { this.KopfOptionen = value; return this; }
}
public static class OnlinehandelKonfig
{
public Boolean summenkonfiguration = null;
public Integer spaltenkonfiguration = null;
public Boolean isSummenkonfiguration() { return summenkonfiguration; }
public OnlinehandelKonfig setSummenkonfiguration(Boolean value) { this.summenkonfiguration = value; return this; }
public Integer getSpaltenkonfiguration() { return spaltenkonfiguration; }
public OnlinehandelKonfig setSpaltenkonfiguration(Integer value) { this.spaltenkonfiguration = value; return this; }
}
}
Java OnlinehandelUploadRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /fibuscan/Onlinehandel/Upload HTTP/1.1
Host: ws4.fibudata.net
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<OnlinehandelUploadRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Messages">
<Betragskonvertierung>0</Betragskonvertierung>
<Dateiname>String</Dateiname>
<Dateityp>0</Dateityp>
<Datumskonvertierung>0</Datumskonvertierung>
<Textcodierung>0</Textcodierung>
<Trennzeichen>String</Trennzeichen>
<fileName>String</fileName>
<kopf_faengt_mit>String</kopf_faengt_mit>
<oem>fibudata</oem>
<standard_waehrung>String</standard_waehrung>
</OnlinehandelUploadRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<OnlinehandelUploadResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Messages">
<KopfOptionen xmlns:d2p1="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Models">
<d2p1:OnlinehandelKonfig>
<d2p1:spaltenkonfiguration>0</d2p1:spaltenkonfiguration>
<d2p1:summenkonfiguration>false</d2p1:summenkonfiguration>
</d2p1:OnlinehandelKonfig>
</KopfOptionen>
<Liste xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:ArrayOfstring>
<d2p1:string>String</d2p1:string>
</d2p1:ArrayOfstring>
</Liste>
<colsCount>0</colsCount>
<guid>String</guid>
<kopf_hash>String</kopf_hash>
</OnlinehandelUploadResponse>