| All Verbs | /qry/accumulator |
|---|
export class Pool
{
public id: number;
public name: string;
public coefficient: number;
public rtp: number;
public threshold: number;
public balance: number;
public rrtp: number;
public rBalance: number;
public constructor(init?: Partial<Pool>) { (Object as any).assign(this, init); }
}
export class Accumulator
{
public pools: Pool[];
public rtp: number;
public constructor(init?: Partial<Accumulator>) { (Object as any).assign(this, init); }
}
export class GetAccumulator
{
public constructor(init?: Partial<GetAccumulator>) { (Object as any).assign(this, init); }
}
TypeScript GetAccumulator DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /qry/accumulator HTTP/1.1
Host: s4w2.api.bettor.cc
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"pools":[{"id":0,"name":"String","coefficient":0,"rtp":0,"threshold":0,"balance":0,"rrtp":0,"rBalance":0}],"rtp":0}