| All Verbs | /qry/reports/locationTotals |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class GetLocationTotalsReport
{
public String format = null;
public Date periodFrom = null;
public Date periodTo = null;
public WinningsKind winningsKind = null;
public DeviceType deviceType = null;
public String getFormat() { return format; }
public GetLocationTotalsReport setFormat(String value) { this.format = value; return this; }
public Date getPeriodFrom() { return periodFrom; }
public GetLocationTotalsReport setPeriodFrom(Date value) { this.periodFrom = value; return this; }
public Date getPeriodTo() { return periodTo; }
public GetLocationTotalsReport setPeriodTo(Date value) { this.periodTo = value; return this; }
public WinningsKind getWinningsKind() { return winningsKind; }
public GetLocationTotalsReport setWinningsKind(WinningsKind value) { this.winningsKind = value; return this; }
public DeviceType getDeviceType() { return deviceType; }
public GetLocationTotalsReport setDeviceType(DeviceType value) { this.deviceType = value; return this; }
}
public static enum WinningsKind
{
@SerializedName("0") All(0),
@SerializedName("1") PaidOut(1),
@SerializedName("2") PendingPayout(2);
private final int value;
WinningsKind(final int intValue) { value = intValue; }
public int getValue() { return value; }
}
public static enum DeviceType
{
@SerializedName("0") ClerkServicedKiosk(0),
@SerializedName("1") PersonalOnline(1),
@SerializedName("2") SelfServiceKiosk(2),
@SerializedName("-1") Unknown(-1);
private final int value;
DeviceType(final int intValue) { value = intValue; }
public int getValue() { return value; }
}
}
Java GetLocationTotalsReport DTOs
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 /qry/reports/locationTotals HTTP/1.1
Host: api.sbbet.ath.cx
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
format: String,
periodFrom: 0001-01-01,
periodTo: 0001-01-01,
winningsKind: 0,
deviceType: 0
}