| All Verbs | /qry/stats/last10 |
|---|
namespace Six4Win.WebApi.ServiceModel
open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type Rating() =
member val Val:Int32 = new Int32() with get,set
member val Count:Int32 = new Int32() with get,set
[<AllowNullLiteral>]
type Comparison() =
member val V1:Int32 = new Int32() with get,set
member val V2:Int32 = new Int32() with get,set
member val P1:Single = new Single() with get,set
member val P2:Single = new Single() with get,set
[<AllowNullLiteral>]
type LastRoundsStats() =
member val Id:String = null with get,set
member val TopSix:Int32[] = null with get,set
member val BottomSix:Int32[] = null with get,set
member val TopFirstColors:ResizeArray<Rating> = null with get,set
member val TopColors:ResizeArray<Rating> = null with get,set
member val FirstNrEvenVsOdd:Comparison = null with get,set
member val FirstNrLessVsGreater24_5:Comparison = null with get,set
member val SumOfFirstFiveLessVsGreaterThan122_5:Comparison = null with get,set
member val TotalEvenVsOdd:Comparison = null with get,set
[<AllowNullLiteral>]
type GetLastRoundsStats() =
class end
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/stats/last10 HTTP/1.1
Host: s4w2.api.bettor.cc
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
}
}