Betting.WebApi

<back to all web services

FindAppEventsSummary

Requires Authentication
The following routes are available for this service:
All Verbs/qry/app-events-summary
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class FindAppEventsSummary extends PaginatedQueryRequest
    {
        
    }

    public static class PaginatedQueryRequest extends QueryRequest
    {
        public Integer currentPage = null;
        public Integer pageSize = null;
        
        public Integer getCurrentPage() { return currentPage; }
        public PaginatedQueryRequest setCurrentPage(Integer value) { this.currentPage = value; return this; }
        public Integer getPageSize() { return pageSize; }
        public PaginatedQueryRequest setPageSize(Integer value) { this.pageSize = value; return this; }
    }

    public static class QueryRequest
    {
        public HashMap<String,String> qry = new HashMap<String,String>();
        
        public HashMap<String,String> getQry() { return qry; }
        public QueryRequest setQry(HashMap<String,String> value) { this.qry = value; return this; }
    }

    public static class EventsSummary
    {
        public Integer n = null;
        public Integer s = null;
        public Integer i = null;
        public Integer w = null;
        public Integer e = null;
        
        public Integer getN() { return n; }
        public EventsSummary setN(Integer value) { this.n = value; return this; }
        public Integer getS() { return s; }
        public EventsSummary setS(Integer value) { this.s = value; return this; }
        public Integer getI() { return i; }
        public EventsSummary setI(Integer value) { this.i = value; return this; }
        public Integer getW() { return w; }
        public EventsSummary setW(Integer value) { this.w = value; return this; }
        public Integer getE() { return e; }
        public EventsSummary setE(Integer value) { this.e = value; return this; }
    }

}

Java FindAppEventsSummary 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 /qry/app-events-summary HTTP/1.1 
Host: api.sbbet.ath.cx 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	currentPage: 0,
	pageSize: 0,
	qry: 
	{
		String: String
	}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	n: 0,
	s: 0,
	i: 0,
	w: 0,
	e: 0
}