Six4Win.WebApi

<back to all web services

GetLastRoundsStats

The following routes are available for this service:
All Verbs/qry/stats/last10
LastRoundsStats Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
TopSixformint[]No
BottomSixformint[]No
TopFirstColorsformList<Rating>No
TopColorsformList<Rating>No
FirstNrEvenVsOddformComparisonNo
FirstNrLessVsGreater24_5formComparisonNo
SumOfFirstFiveLessVsGreaterThan122_5formComparisonNo
TotalEvenVsOddformComparisonNo
Rating Parameters:
NameParameterData TypeRequiredDescription
ValformintNo
CountformintNo
Comparison Parameters:
NameParameterData TypeRequiredDescription
V1formintNo
V2formintNo
P1formfloatNo
P2formfloatNo

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/stats/last10 HTTP/1.1 
Host: s4w2.api.bengabet.webhop.biz 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	id: String,
	topSix: 
	[
		0
	],
	bottomSix: 
	[
		0
	],
	topFirstColors: 
	[
		{
			val: 0,
			count: 0
		}
	],
	topColors: 
	[
		{
			val: 0,
			count: 0
		}
	],
	firstNrEvenVsOdd: 
	{
		v1: 0,
		v2: 0,
		p1: 0,
		p2: 0
	},
	firstNrLessVsGreater24_5: 
	{
		v1: 0,
		v2: 0,
		p1: 0,
		p2: 0
	},
	sumOfFirstFiveLessVsGreaterThan122_5: 
	{
		v1: 0,
		v2: 0,
		p1: 0,
		p2: 0
	},
	totalEvenVsOdd: 
	{
		v1: 0,
		v2: 0,
		p1: 0,
		p2: 0
	}
}