| POST | /cmd/configure/super-win |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | body | string | No | |
| Configuration | body | SuperWinConfig | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| IsActive | form | bool | No | |
| StakePct | form | float | No | |
| MinPrizesPerDay | form | int | No | |
| MaxPrizesPerDay | form | int | No | |
| ActivePeriod | form | PeriodOfDay | No | |
| MinDailyPrizeInPct | form | float | No | |
| MinIntervalBetweenMultiplePrizesInMinutes | form | int | No | |
| AllowSuperWinForSpecialBets | form | bool | No | |
| WebPlayerWinnerCooldownPolicy | form | WebPlayerWinnerCooldownPolicyConfig | No | |
| LocationOptimizationLevel | form | LocationOptimizationLevel | No | |
| PlayerOptimizationLevel | form | LocationOptimizationLevel | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Start | form | TimeOnly | No | |
| End | form | TimeOnly | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| IsActive | form | bool | No | |
| CooldownIntervalInDays | form | int | No |
| Name | Value | |
|---|---|---|
| None | 0 | |
| Low | 1 | |
| Medium | 2 | |
| High | 3 |
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /cmd/configure/super-win HTTP/1.1
Host: s4w1.api.br4.ath.cx
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"id":"String","configuration":{"isActive":false,"stakePct":0,"minPrizesPerDay":0,"maxPrizesPerDay":0,"activePeriod":{"start":"PT0S","end":"PT0S"},"minDailyPrizeInPct":0,"minIntervalBetweenMultiplePrizesInMinutes":0,"allowSuperWinForSpecialBets":false,"webPlayerWinnerCooldownPolicy":{"isActive":false,"cooldownIntervalInDays":0},"locationOptimizationLevel":0,"playerOptimizationLevel":0}}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}