| All Verbs | /qry/app-events-summary |
|---|
// @ts-nocheck
export class QueryRequest
{
public qry: RecordDictionary<string, string>;
public constructor(init?: Partial<QueryRequest>) { (Object as any).assign(this, init); }
}
export class PaginatedQueryRequest extends QueryRequest
{
public currentPage: number;
public pageSize: number;
public constructor(init?: Partial<PaginatedQueryRequest>) { super(init); (Object as any).assign(this, init); }
}
export class EventsSummary
{
public n: number;
public s: number;
public i: number;
public w: number;
public e: number;
public lastCheckpoint?: number;
public constructor(init?: Partial<EventsSummary>) { (Object as any).assign(this, init); }
}
export class FindAppEventsSummary extends PaginatedQueryRequest
{
public constructor(init?: Partial<FindAppEventsSummary>) { super(init); (Object as any).assign(this, init); }
}
export class Dictionary<T> { [Key: string]: T; }
export class RecordDictionary<TKey, TVal> extends Dictionary<TVal>
{
public constructor(init?: Partial<RecordDictionary<TKey, TVal>>) { super(); (Object as any).assign(this, init); }
}
TypeScript FindAppEventsSummary 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/app-events-summary HTTP/1.1
Host: api.bettor.webhop.biz
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,
lastCheckpoint: 0
}