| GET, POST | /fibuscan/Onlinehandel/WaehrungsListe |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class WaehrungsListeRequest
{
}
public static class WaehrungsListeResponse
{
public ArrayList<waehrung> Liste = null;
public ArrayList<waehrung> getListe() { return Liste; }
public WaehrungsListeResponse setListe(ArrayList<waehrung> value) { this.Liste = value; return this; }
}
public static class waehrung implements IPrimaryKey, ITableBase
{
public Long id = null;
public String iso4217 = null;
public String iso4217num = null;
public String bezeichnung = null;
public Date _erstellt = null;
public Date _aenderung = null;
public String symbol = null;
public Integer prio = null;
@Ignore()
public Long PrimaryKey = null;
public Long getId() { return id; }
public waehrung setId(Long value) { this.id = value; return this; }
public String getIso4217() { return iso4217; }
public waehrung setIso4217(String value) { this.iso4217 = value; return this; }
public String getIso4217num() { return iso4217num; }
public waehrung setIso4217num(String value) { this.iso4217num = value; return this; }
public String getBezeichnung() { return bezeichnung; }
public waehrung setBezeichnung(String value) { this.bezeichnung = value; return this; }
public Date getErstellt() { return _erstellt; }
public waehrung setErstellt(Date value) { this._erstellt = value; return this; }
public Date getAenderung() { return _aenderung; }
public waehrung setAenderung(Date value) { this._aenderung = value; return this; }
public String getSymbol() { return symbol; }
public waehrung setSymbol(String value) { this.symbol = value; return this; }
public Integer getPrio() { return prio; }
public waehrung setPrio(Integer value) { this.prio = value; return this; }
public Long getPrimaryKey() { return PrimaryKey; }
public waehrung setPrimaryKey(Long value) { this.PrimaryKey = value; return this; }
}
}
Java WaehrungsListeRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /fibuscan/Onlinehandel/WaehrungsListe HTTP/1.1
Host: ws4.fibudata.net
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"Liste":[{"id":0,"iso4217":"String","iso4217num":"String","bezeichnung":"String","_erstellt":"\/Date(-62135596800000-0000)\/","_aenderung":"\/Date(-62135596800000-0000)\/","symbol":"String","prio":0,"PrimaryKey":0}]}