| All Verbs | /feed |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | string | No | |
| Round | form | Round | No | |
| LastJackpotInfo | form | JackpotInfo | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | string | No | |
| CreatedAt | form | DateTime | No | |
| UpdatedAt | form | DateTime | No | |
| Status | form | RoundStatus | No | |
| Configuration | form | RoundConfiguration | No | |
| Odds | form | Dictionary<int, Outcome> | No | |
| JackpotInfo | form | JackpotInfo | No | |
| Sequence | form | string | No | |
| Progress | form | RoundProgress | No | |
| IsLocked | form | bool | No | |
| IsCalculated | form | bool | No |
| Name | Value | |
|---|---|---|
| Pending | 0 | |
| InProgress | 1 | |
| Ended | 2 |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CountdownDurationInSeconds | form | int | No | |
| RaceDurationInSeconds | form | int | No | |
| ResultsDurationInSeconds | form | int | No | |
| RTPStrategy | form | RTPStrategies | No |
| Name | Value | |
|---|---|---|
| RNG | 0 | |
| Default | 1 |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| Odds | form | float | No | |
| Status | form | OutcomeStatus | No |
| Name | Value | |
|---|---|---|
| Unknown | 0 | |
| Lost | 1 | |
| Won | 2 | |
| Void | 3 |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| IsGiven | form | bool | No | |
| Id | form | string | No | |
| SlipId | form | string | No | |
| JPId | form | string | No | |
| Amount | form | decimal | No | |
| LocationId | form | string | No | |
| LocationName | form | string | No | |
| AddressLine | form | string | No | |
| AmountAccumulated | form | decimal | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Stage | form | Stages | No | |
| Step | form | int | No | |
| Steps | form | int | No | |
| UTCTimestamp | form | DateTime | No |
| Name | Value | |
|---|---|---|
| None | 0 | |
| Countdown | 1 | |
| Processing | 2 | |
| Race | 3 | |
| Results | 4 |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /feed HTTP/1.1
Host: grh1.api.bettor.webhop.biz
Accept: application/json
Content-Type: application/json
Content-Length: length
{}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"id":"String","round":{"id":"String","createdAt":"0001-01-01T00:00:00.0000000Z","updatedAt":"0001-01-01T00:00:00.0000000Z","status":0,"configuration":{"countdownDurationInSeconds":0,"raceDurationInSeconds":0,"resultsDurationInSeconds":0,"rtpStrategy":0},"odds":{"0":{"id":0,"odds":0,"status":0}},"jackpotInfo":{"isGiven":false,"id":"String","slipId":"String","jpId":"String","amount":0,"locationId":"String","locationName":"String","addressLine":"String","amountAccumulated":0},"sequence":"String","progress":{"stage":0,"step":0,"steps":0,"utcTimestamp":"0001-01-01T00:00:00.0000000Z"},"isLocked":false,"isCalculated":false},"lastJackpotInfo":{"isGiven":false,"id":"String","slipId":"String","jpId":"String","amount":0,"locationId":"String","locationName":"String","addressLine":"String","amountAccumulated":0}}