| All Verbs | /config/accumulator |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | string | No | |
| Pools | form | List<Pool> | No | |
| PrevalentStake | form | decimal | No | |
| LocationOptimizationLevel | form | LocationOptimizationLevel | No | |
| JackPotThresholdInterval | form | ThresholdInterval | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| Name | form | string | No | |
| Coefficient | form | decimal | No | |
| RTP | form | decimal | No | |
| Threshold | form | decimal | No | |
| Balance | 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 |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /config/accumulator HTTP/1.1
Host: grh1.api.bettor.webhop.biz
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
id: String,
pools:
[
{
id: 0,
name: String,
rtp: 0
}
],
prevalentStake: 0,
locationOptimizationLevel: 0,
jackPotThresholdInterval:
{
start: 0,
end: 0
}
}