FIBUdataServiceStack

<back to all web services

WaehrungskurseAbfragenRequest

The following routes are available for this service:
GET, POST/fibuscan/WaehrungsAbfragen
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class WaehrungskurseAbfragenRequest
    {
        public Date Von = null;
        public Date Bis = null;
        public String Waehrung = null;
        
        public Date getVon() { return Von; }
        public WaehrungskurseAbfragenRequest setVon(Date value) { this.Von = value; return this; }
        public Date getBis() { return Bis; }
        public WaehrungskurseAbfragenRequest setBis(Date value) { this.Bis = value; return this; }
        public String getWaehrung() { return Waehrung; }
        public WaehrungskurseAbfragenRequest setWaehrung(String value) { this.Waehrung = value; return this; }
    }

    public static class WaehrungskurseAbfragenResponse
    {
        public HashMap<Date,waehrungskurse> ResultDictionary = null;
        
        public HashMap<Date,waehrungskurse> getResultDictionary() { return ResultDictionary; }
        public WaehrungskurseAbfragenResponse setResultDictionary(HashMap<Date,waehrungskurse> value) { this.ResultDictionary = value; return this; }
    }

    public static class waehrungskurse implements IPrimaryKey, IDel, ITableBase
    {
        public Long id = null;
        public String iso4217 = null;
        public Date datum = null;
        public BigDecimal betrag = null;
        public Long del = null;
        public Date _erstellt = null;
        public Date _aenderung = null;
        @Ignore()
        public Long PrimaryKey = null;
        
        public Long getId() { return id; }
        public waehrungskurse setId(Long value) { this.id = value; return this; }
        public String getIso4217() { return iso4217; }
        public waehrungskurse setIso4217(String value) { this.iso4217 = value; return this; }
        public Date getDatum() { return datum; }
        public waehrungskurse setDatum(Date value) { this.datum = value; return this; }
        public BigDecimal getBetrag() { return betrag; }
        public waehrungskurse setBetrag(BigDecimal value) { this.betrag = value; return this; }
        public Long getDel() { return del; }
        public waehrungskurse setDel(Long value) { this.del = value; return this; }
        public Date getErstellt() { return _erstellt; }
        public waehrungskurse setErstellt(Date value) { this._erstellt = value; return this; }
        public Date getAenderung() { return _aenderung; }
        public waehrungskurse setAenderung(Date value) { this._aenderung = value; return this; }
        public Long getPrimaryKey() { return PrimaryKey; }
        public waehrungskurse setPrimaryKey(Long value) { this.PrimaryKey = value; return this; }
    }

}

Java WaehrungskurseAbfragenRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /fibuscan/WaehrungsAbfragen HTTP/1.1 
Host: ws4.fibudata.net 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Von: 0001-01-01,
	Bis: 0001-01-01,
	Waehrung: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ResultDictionary: 
	{
		0001-01-01: 
		{
			id: 0,
			iso4217: String,
			datum: 0001-01-01,
			betrag: 0,
			del: 0,
			_erstellt: 0001-01-01,
			_aenderung: 0001-01-01,
			PrimaryKey: 0
		}
	}
}