Six4Win.WebApi

<back to all web services

GetGlobalCodePotConfiguration

The following routes are available for this service:
All Verbs/qry/global-code-pot/config
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 Six4Win.ReadModel
Imports Six4Win

Namespace Global

    Namespace Six4Win

        Public Partial Class GCPConfiguration
            Public Overridable Property IsActive As Boolean
            Public Overridable Property Interval As ThresholdInterval
            Public Overridable Property Pct As Decimal
            Public Overridable Property ReservePct As Decimal
            Public Overridable Property TotalPct As Decimal
        End Class

        Public Partial Class ThresholdInterval
            Public Overridable Property Start As Decimal
            Public Overridable Property [End] As Decimal
        End Class
    End Namespace

    Namespace Six4Win.ReadModel

        Public Partial Class GlobalCodePotConfigurations
            Public Overridable Property Id As String
            Public Overridable Property Cfg As GCPConfiguration
        End Class
    End Namespace

    Namespace Six4Win.WebApi.ServiceModel

        Public Partial Class GetGlobalCodePotConfiguration
        End Class
    End Namespace
End Namespace

VB.NET GetGlobalCodePotConfiguration 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/global-code-pot/config HTTP/1.1 
Host: s4w2.api.bettor.cc 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"id":"String","cfg":{"isActive":false,"interval":{"start":0,"end":0},"pct":0,"reservePct":0,"totalPct":0}}