Betting.WebApi

<back to all web services

FindAppEventsSummary

Requires Authentication
The following routes are available for this service:
All Verbs/qry/app-events-summary
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Betting.WebApi.ServiceModel
Imports Starnet.Common
Imports Betting.ReadModel

Namespace Global

    Namespace Betting.ReadModel

        Public Partial Class EventsSummary
            Public Overridable Property N As Integer
            Public Overridable Property S As Integer
            Public Overridable Property I As Integer
            Public Overridable Property W As Integer
            Public Overridable Property E As Integer
        End Class
    End Namespace

    Namespace Betting.WebApi.ServiceModel

        Public Partial Class FindAppEventsSummary
            Inherits PaginatedQueryRequest
        End Class
    End Namespace

    Namespace Starnet.Common

        Public Partial Class PaginatedQueryRequest
            Inherits QueryRequest
            Public Overridable Property CurrentPage As Integer
            Public Overridable Property PageSize As Integer
        End Class

        Public Partial Class QueryRequest
            Public Overridable Property Qry As Dictionary(Of String, String) = New Dictionary(Of String, String)
        End Class
    End Namespace
End Namespace

VB.NET 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}