import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class GetAlleDurchschnitt
{
public Date Zuletzt = null;
public Date getZuletzt() { return Zuletzt; }
public GetAlleDurchschnitt setZuletzt(Date value) { this.Zuletzt = value; return this; }
}
public static class DurchschnittListeResponse
{
public ArrayList<DurchschnittNutzer> Liste = null;
public ArrayList<DurchschnittNutzer> getListe() { return Liste; }
public DurchschnittListeResponse setListe(ArrayList<DurchschnittNutzer> value) { this.Liste = value; return this; }
}
public static class DurchschnittNutzer
{
public Integer ID = null;
public String Kategorie = null;
public Integer Anzahl = null;
public BigDecimal Durchschnittswert = null;
public Date Zuletzt = null;
public Integer getId() { return ID; }
public DurchschnittNutzer setId(Integer value) { this.ID = value; return this; }
public String getKategorie() { return Kategorie; }
public DurchschnittNutzer setKategorie(String value) { this.Kategorie = value; return this; }
public Integer getAnzahl() { return Anzahl; }
public DurchschnittNutzer setAnzahl(Integer value) { this.Anzahl = value; return this; }
public BigDecimal getDurchschnittswert() { return Durchschnittswert; }
public DurchschnittNutzer setDurchschnittswert(BigDecimal value) { this.Durchschnittswert = value; return this; }
public Date getZuletzt() { return Zuletzt; }
public DurchschnittNutzer setZuletzt(Date value) { this.Zuletzt = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /jsonl/reply/GetAlleDurchschnitt HTTP/1.1
Host: 52.142.207.43
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"Zuletzt":"\/Date(-62135596800000-0000)\/"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"Liste":[{"ID":0,"Kategorie":"String","Anzahl":0,"Durchschnittswert":0,"Zuletzt":"\/Date(-62135596800000-0000)\/"}]}