Betting.WebApi

<back to all web services

FindAppEventsSummary

Requires Authentication
The following routes are available for this service:
All Verbs/qry/app-events-summary
"use strict";
export class QueryRequest {
    /** @param {{qry?:{ [index:string]: string; }}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {{ [index:string]: string; }} */
    qry = {};
}
export class PaginatedQueryRequest extends QueryRequest {
    /** @param {{currentPage?:number,pageSize?:number,qry?:{ [index:string]: string; }}} [init] */
    constructor(init) { super(init); Object.assign(this, init) }
    /** @type {number} */
    currentPage;
    /** @type {number} */
    pageSize;
}
export class EventsSummary {
    /** @param {{n?:number,s?:number,i?:number,w?:number,e?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    n;
    /** @type {number} */
    s;
    /** @type {number} */
    i;
    /** @type {number} */
    w;
    /** @type {number} */
    e;
}
export class FindAppEventsSummary extends PaginatedQueryRequest {
    /** @param {{currentPage?:number,pageSize?:number,qry?:{ [index:string]: string; }}} [init] */
    constructor(init) { super(init); Object.assign(this, init) }
}

JavaScript 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
}