| 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 .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/WaehrungsListe HTTP/1.1
Host: ws4.fibudata.net
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<WaehrungsListeRequest 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
<WaehrungsListeResponse 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:waehrung>
<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:id>0</d2p1:id>
<d2p1:iso4217>String</d2p1:iso4217>
<d2p1:iso4217num>String</d2p1:iso4217num>
<d2p1:prio>0</d2p1:prio>
<d2p1:symbol>String</d2p1:symbol>
</d2p1:waehrung>
</Liste>
</WaehrungsListeResponse>