| 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 .jsv suffix or ?format=jsv
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: text/jsv
Content-Type: text/jsv
Content-Length: length
{
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Liste:
[
{
id: 0,
guid: String,
mandant: 0,
del: 0,
parent_id: 0,
soll_parsen: 0,
bezeichnung: String,
_erstellt: 0001-01-01,
_aenderung: 0001-01-01,
suchfeld1: 0,
suchfeld1_text: String,
suchfeld2: 0,
suchfeld2_text: String,
PrimaryKey: 0
}
],
ParentsListe:
[
{
Id: 0,
Title: String,
bearbeitungstyp: None
}
]
}