Six4Win.WebApi

<back to all web services

FindBettorRoundStats

The following routes are available for this service:
All Verbs/qry/bettors/byRound
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Six4Win.WebApi.ServiceModel
Imports Starnet.Common

Namespace Global

    Namespace Six4Win.WebApi.ServiceModel

        Public Partial Class FindBettorRoundStats
            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 PaginatedResult(Of T)
            Implements IPaginatedResult
            Public Overridable Property Data As List(Of Bet) = New List(Of Bet)
            Public Overridable Property CurrentPage As Long Implements IPaginatedResult.CurrentPage
            Public Overridable Property PageSize As Long Implements IPaginatedResult.PageSize
            Public Overridable Property TotalItems As Long Implements IPaginatedResult.TotalItems
            Public Overridable Property TotalPages As Long Implements IPaginatedResult.TotalPages
        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 FindBettorRoundStats DTOs

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

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /qry/bettors/byRound HTTP/1.1 
Host: s4w2.api.bettor.cc 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

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

{"data":[{"roundId":"String","bettorId":"String","username":"String","betCount":0,"betAmount":0,"pct":0,"dailyRTP":0}],"currentPage":0,"pageSize":0,"totalItems":0,"totalPages":0}