| 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 .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/app-events-summary HTTP/1.1
Host: api.sbbet.ath.cx
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
currentPage: 0,
pageSize: 0,
qry:
{
String: String
}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
n: 0,
s: 0,
i: 0,
w: 0,
e: 0
}