| GET, POST | /fibuscan/Bank |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class BankRequest
{
public Boolean notCaching = null;
public Boolean isNotCaching() { return notCaching; }
public BankRequest setNotCaching(Boolean value) { this.notCaching = value; return this; }
}
public static class BankResponse
{
public ArrayList<bank> Liste = null;
public ArrayList<bank> getListe() { return Liste; }
public BankResponse setListe(ArrayList<bank> value) { this.Liste = value; return this; }
}
public static class bank implements IPrimaryKey, IMandnr, IDel, ITableBaseErstelltAenderung, INutzerid
{
public Long BankID = null;
public Date _erstellt = null;
public Date _aenderung = null;
public Date Anlagedatum = null;
public Integer ktotyp = null;
public Integer max_banktext = null;
public Integer abruf = null;
public Integer isRev = null;
public Integer isSepa = null;
public Integer buchungsdatum_isErfasst = null;
public Long del = null;
public Long id_lokal = null;
public Long mandant = null;
public Long Art = null;
public Long FibuKonto = null;
public String Bezeichnung = null;
public String bic = null;
public String BLZ = null;
public String GUID = null;
public String iban = null;
public String Konto = null;
public String pw = null;
public String userBLZ = null;
public String userKto = null;
public String wkz = null;
public String universal = null;
public Long nutzerid = null;
@Ignore()
public Long PrimaryKey = null;
public Long getBankID() { return BankID; }
public bank setBankID(Long value) { this.BankID = value; return this; }
public Date getErstellt() { return _erstellt; }
public bank setErstellt(Date value) { this._erstellt = value; return this; }
public Date getAenderung() { return _aenderung; }
public bank setAenderung(Date value) { this._aenderung = value; return this; }
public Date getAnlagedatum() { return Anlagedatum; }
public bank setAnlagedatum(Date value) { this.Anlagedatum = value; return this; }
public Integer getKtotyp() { return ktotyp; }
public bank setKtotyp(Integer value) { this.ktotyp = value; return this; }
public Integer getMaxBanktext() { return max_banktext; }
public bank setMaxBanktext(Integer value) { this.max_banktext = value; return this; }
public Integer getAbruf() { return abruf; }
public bank setAbruf(Integer value) { this.abruf = value; return this; }
public Integer getIsRev() { return isRev; }
public bank setIsRev(Integer value) { this.isRev = value; return this; }
public Integer getIsSepa() { return isSepa; }
public bank setIsSepa(Integer value) { this.isSepa = value; return this; }
public Integer getBuchungsdatumIsErfasst() { return buchungsdatum_isErfasst; }
public bank setBuchungsdatumIsErfasst(Integer value) { this.buchungsdatum_isErfasst = value; return this; }
public Long getDel() { return del; }
public bank setDel(Long value) { this.del = value; return this; }
public Long getIdLokal() { return id_lokal; }
public bank setIdLokal(Long value) { this.id_lokal = value; return this; }
public Long getMandant() { return mandant; }
public bank setMandant(Long value) { this.mandant = value; return this; }
public Long getArt() { return Art; }
public bank setArt(Long value) { this.Art = value; return this; }
public Long getFibuKonto() { return FibuKonto; }
public bank setFibuKonto(Long value) { this.FibuKonto = value; return this; }
public String getBezeichnung() { return Bezeichnung; }
public bank setBezeichnung(String value) { this.Bezeichnung = value; return this; }
public String getBic() { return bic; }
public bank setBic(String value) { this.bic = value; return this; }
public String getBlz() { return BLZ; }
public bank setBlz(String value) { this.BLZ = value; return this; }
public String getGuid() { return GUID; }
public bank setGuid(String value) { this.GUID = value; return this; }
public String getIban() { return iban; }
public bank setIban(String value) { this.iban = value; return this; }
public String getKonto() { return Konto; }
public bank setKonto(String value) { this.Konto = value; return this; }
public String getPw() { return pw; }
public bank setPw(String value) { this.pw = value; return this; }
public String getUserBLZ() { return userBLZ; }
public bank setUserBLZ(String value) { this.userBLZ = value; return this; }
public String getUserKto() { return userKto; }
public bank setUserKto(String value) { this.userKto = value; return this; }
public String getWkz() { return wkz; }
public bank setWkz(String value) { this.wkz = value; return this; }
public String getUniversal() { return universal; }
public bank setUniversal(String value) { this.universal = value; return this; }
public Long getNutzerid() { return nutzerid; }
public bank setNutzerid(Long value) { this.nutzerid = value; return this; }
public Long getPrimaryKey() { return PrimaryKey; }
public bank setPrimaryKey(Long value) { this.PrimaryKey = value; return this; }
}
}
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/Bank HTTP/1.1
Host: ws4.fibudata.net
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
notCaching: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Liste:
[
{
BankID: 0,
_erstellt: 0001-01-01,
_aenderung: 0001-01-01,
Anlagedatum: 0001-01-01,
ktotyp: 0,
max_banktext: 0,
abruf: 0,
isRev: 0,
isSepa: 0,
buchungsdatum_isErfasst: 0,
del: 0,
id_lokal: 0,
mandant: 0,
Art: 0,
FibuKonto: 0,
Bezeichnung: String,
bic: String,
BLZ: String,
GUID: String,
iban: String,
Konto: String,
pw: String,
userBLZ: String,
userKto: String,
wkz: String,
universal: String,
nutzerid: 0,
PrimaryKey: 0
}
]
}