Betting.WebApi

<back to all web services

FindAppEventsSummary

Requires Authentication
The following routes are available for this service:
All Verbs/qry/app-events-summary
namespace Betting.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 EventsSummary() = 
        member val N:Int32 = new Int32() with get,set
        member val S:Int32 = new Int32() with get,set
        member val I:Int32 = new Int32() with get,set
        member val W:Int32 = new Int32() with get,set
        member val E:Int32 = new Int32() with get,set

    [<AllowNullLiteral>]
    type QueryRequest() = 
        member val Qry:Dictionary<String, String> = null with get,set

    [<AllowNullLiteral>]
    type PaginatedQueryRequest() = 
        inherit QueryRequest()
        member val CurrentPage:Int32 = new Int32() with get,set
        member val PageSize:Int32 = new Int32() with get,set

    [<AllowNullLiteral>]
    type FindAppEventsSummary() = 
        inherit PaginatedQueryRequest()

F# FindAppEventsSummary DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: application/json
Content-Type: application/json
Content-Length: length

{"currentPage":0,"pageSize":0,"qry":{"String":"String"}}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"n":0,"s":0,"i":0,"w":0,"e":0}