| GET, POST | /fibuscan/Onlinehandel/TreffertypenLaden |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class OnlinehandelTreffertypenLadenRequest
{
}
public static class OnlinehandelTreffertypenLadenResponse
{
public ArrayList<onlinehandel_treffertypen> Liste = null;
public ArrayList<TreffertypParent> ParentsListe = null;
public ArrayList<onlinehandel_treffertypen> getListe() { return Liste; }
public OnlinehandelTreffertypenLadenResponse setListe(ArrayList<onlinehandel_treffertypen> value) { this.Liste = value; return this; }
public ArrayList<TreffertypParent> getParentsListe() { return ParentsListe; }
public OnlinehandelTreffertypenLadenResponse setParentsListe(ArrayList<TreffertypParent> value) { this.ParentsListe = value; return this; }
}
public static class onlinehandel_treffertypen implements IPrimaryKey, IMandnr, IDel, ITableBase
{
public Long id = null;
public String guid = null;
public Long mandant = null;
public Long del = null;
public Long parent_id = null;
public Long soll_parsen = null;
public String bezeichnung = null;
public Date _erstellt = null;
public Date _aenderung = null;
public Long suchfeld1 = null;
public String suchfeld1_text = null;
public Long suchfeld2 = null;
public String suchfeld2_text = null;
@Ignore()
public Long PrimaryKey = null;
public Long getId() { return id; }
public onlinehandel_treffertypen setId(Long value) { this.id = value; return this; }
public String getGuid() { return guid; }
public onlinehandel_treffertypen setGuid(String value) { this.guid = value; return this; }
public Long getMandant() { return mandant; }
public onlinehandel_treffertypen setMandant(Long value) { this.mandant = value; return this; }
public Long getDel() { return del; }
public onlinehandel_treffertypen setDel(Long value) { this.del = value; return this; }
public Long getParentId() { return parent_id; }
public onlinehandel_treffertypen setParentId(Long value) { this.parent_id = value; return this; }
public Long getSollParsen() { return soll_parsen; }
public onlinehandel_treffertypen setSollParsen(Long value) { this.soll_parsen = value; return this; }
public String getBezeichnung() { return bezeichnung; }
public onlinehandel_treffertypen setBezeichnung(String value) { this.bezeichnung = value; return this; }
public Date getErstellt() { return _erstellt; }
public onlinehandel_treffertypen setErstellt(Date value) { this._erstellt = value; return this; }
public Date getAenderung() { return _aenderung; }
public onlinehandel_treffertypen setAenderung(Date value) { this._aenderung = value; return this; }
public Long getSuchfeld1() { return suchfeld1; }
public onlinehandel_treffertypen setSuchfeld1(Long value) { this.suchfeld1 = value; return this; }
public String getSuchfeld1Text() { return suchfeld1_text; }
public onlinehandel_treffertypen setSuchfeld1Text(String value) { this.suchfeld1_text = value; return this; }
public Long getSuchfeld2() { return suchfeld2; }
public onlinehandel_treffertypen setSuchfeld2(Long value) { this.suchfeld2 = value; return this; }
public String getSuchfeld2Text() { return suchfeld2_text; }
public onlinehandel_treffertypen setSuchfeld2Text(String value) { this.suchfeld2_text = value; return this; }
public Long getPrimaryKey() { return PrimaryKey; }
public onlinehandel_treffertypen setPrimaryKey(Long value) { this.PrimaryKey = value; return this; }
}
public static class TreffertypParent
{
public Long Id = null;
public String Title = null;
public Onlinehandel_Enum_Bearbeitungstyp bearbeitungstyp = null;
public Long getId() { return Id; }
public TreffertypParent setId(Long value) { this.Id = value; return this; }
public String getTitle() { return Title; }
public TreffertypParent setTitle(String value) { this.Title = value; return this; }
public Onlinehandel_Enum_Bearbeitungstyp getBearbeitungstyp() { return bearbeitungstyp; }
public TreffertypParent setBearbeitungstyp(Onlinehandel_Enum_Bearbeitungstyp value) { this.bearbeitungstyp = value; return this; }
}
public static enum Onlinehandel_Enum_Bearbeitungstyp
{
None,
ExactId,
ContainsID1,
StartLose,
EndLose,
Lerneintrag,
BetragtrefferZaAr,
Stornotreffer,
Ueberhang,
Gutschrift,
Manuell,
Eingangsrechnung,
SonstigeKlaerung,
Bankausgleich,
FehlendeAR,
FehlendeGS,
NichtBuchen,
AbwKdZhlg,
Bar,
Vormonat,
Waehrungsabweichung,
BetragsabweichungKlRd,
OrderId,
BetragtrefferZaZa,
BetragsabweichungGrRd,
StornoId,
StornoContainsId,
Abschoepfung,
Volltext,
VolltextKlRd,
VolltextGrRd,
Sonstiges;
}
}
Java OnlinehandelTreffertypenLadenRequest 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/TreffertypenLaden HTTP/1.1
Host: ws4.fibudata.net
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<OnlinehandelTreffertypenLadenRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Messages" />
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<OnlinehandelTreffertypenLadenResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Messages">
<Liste xmlns:d2p1="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Models">
<d2p1:onlinehandel_treffertypen>
<d2p1:PrimaryKey>0</d2p1:PrimaryKey>
<d2p1:_aenderung>0001-01-01T00:00:00</d2p1:_aenderung>
<d2p1:_erstellt>0001-01-01T00:00:00</d2p1:_erstellt>
<d2p1:bezeichnung>String</d2p1:bezeichnung>
<d2p1:del>0</d2p1:del>
<d2p1:guid>String</d2p1:guid>
<d2p1:id>0</d2p1:id>
<d2p1:mandant>0</d2p1:mandant>
<d2p1:parent_id>0</d2p1:parent_id>
<d2p1:soll_parsen>0</d2p1:soll_parsen>
<d2p1:suchfeld1>0</d2p1:suchfeld1>
<d2p1:suchfeld1_text>String</d2p1:suchfeld1_text>
<d2p1:suchfeld2>0</d2p1:suchfeld2>
<d2p1:suchfeld2_text>String</d2p1:suchfeld2_text>
</d2p1:onlinehandel_treffertypen>
</Liste>
<ParentsListe>
<TreffertypParent>
<Id>0</Id>
<Title>String</Title>
<bearbeitungstyp>None</bearbeitungstyp>
</TreffertypParent>
</ParentsListe>
</OnlinehandelTreffertypenLadenResponse>