| POST | /configure/accumulator |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | body | string | No | |
| Configuration | body | AccumulatorConfiguration | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | string | No | |
| Pools | form | List<Pool> | No | |
| PrevalentStake | form | decimal | No | |
| PurgeThresholdModifier | form | decimal | No | |
| LocationOptimizationLevel | form | LocationOptimizationLevel | No | |
| JackPot5ThresholdInterval | form | ThresholdInterval | No | |
| DeviationCategorySpanInPct | form | int | No | |
| RoundPoolCircuitBreakerThreshold | form | decimal | No | |
| WinCountOrderAffinity | form | List<WinCountOrderProbability> | No | |
| HighRollerSettings | form | HighRollerSettings | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| Name | form | string | No | |
| RTP | form | decimal | No |
| Name | Value | |
|---|---|---|
| None | 0 | |
| Low | 1 | |
| Medium | 2 | |
| High | 3 |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Start | form | decimal | No | |
| End | form | decimal | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Order | form | Order | No | |
| Probability | form | int | No |
| Name | Value | |
|---|---|---|
| None | 0 | |
| Ascending | 1 | |
| Descending | 2 |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Pools | form | List<PoolSettings> | No | |
| CategoryThresholds | form | List<CategoryThreshold> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| Name | form | string | No | |
| IsActive | form | bool | No | |
| ContributionToRoundPoolPct | form | decimal | No | |
| Caps | form | PoolCaps | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| PlusCoef | form | decimal | No | |
| MinusCoef | form | decimal | No | |
| MaxAmountInPrevalentStakes | form | decimal | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Category | form | StakeCategory | No | |
| Threshold | form | decimal | No |
| Name | Value | |
|---|---|---|
| Pickerel | 0 | |
| Fish | 1 | |
| Salmon | 2 | |
| Tuna | 3 | |
| Shark | 4 | |
| Whale | 5 | |
| None | -1 |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /configure/accumulator HTTP/1.1
Host: s4wapi.wwin.ath.cx
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"id":"String","configuration":{"pools":[{"id":0,"name":"String","rtp":0}],"prevalentStake":0,"purgeThresholdModifier":0,"locationOptimizationLevel":0,"jackPot5ThresholdInterval":{"start":0,"end":0},"deviationCategorySpanInPct":0,"roundPoolCircuitBreakerThreshold":0,"highRollerSettings":{"pools":[{"id":0,"name":"String","isActive":false,"contributionToRoundPoolPct":0,"caps":{"plusCoef":0,"minusCoef":0,"maxAmountInPrevalentStakes":0}}],"categoryThresholds":[{"category":0,"threshold":0}]},"winCountOrderAffinity":[{"order":0,"probability":0}]}}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}