Six4Win.WebApi

<back to all web services

GetConfiguredRTP

The following routes are available for this service:
All Verbs/qry/rtp/configured
namespace Six4Win.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 RTPResponse() = 
        member val TotalRTP:Decimal = new Decimal() with get,set
        member val MainGame:Decimal = new Decimal() with get,set
        member val SuperWin:Decimal = new Decimal() with get,set
        member val GlobalCodePot:Decimal = new Decimal() with get,set
        member val LocalCodePot:Decimal = new Decimal() with get,set

    [<AllowNullLiteral>]
    type GetConfiguredRTP() = 
        class end

F# GetConfiguredRTP 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/rtp/configured 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

{"totalRTP":0,"mainGame":0,"superWin":0,"globalCodePot":0,"localCodePot":0}