| GET,POST | /SuggestedBets | Gets the Suggested Bets for a client | Gets the Suggested Bets for a client |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Items | form | List<SuggestedBet> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| EventID | form | int | No | |
| ClientID | form | int | No | |
| OutcomeID | form | int | No | |
| ShortTipReason | form | string | No | |
| LongTipReason | form | string | No | |
| RaceVenue | form | string | No | |
| RaceNumber | form | int | No | |
| AdvertisedStartTime | form | DateTime | No | |
| SecondsToJump | form | int | No | |
| IsJockeySilkExist | form | bool | No | |
| RunnerName | form | string | No | |
| ShortForm | form | string | No | |
| RunnerRaceCardNumber | form | string | No | |
| Barrier | form | string | No | |
| JockeyName | form | string | No | |
| Trainer | form | string | No | |
| WeightCarried | form | string | 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 /SuggestedBets HTTP/1.1
Host: tstextweb20.np.bluebet.com.au
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Items:
[
{
EventID: 0,
ClientID: 0,
OutcomeID: 0,
ShortTipReason: String,
LongTipReason: String,
RaceVenue: String,
RaceNumber: 0,
AdvertisedStartTime: 0001-01-01,
SecondsToJump: 0,
IsJockeySilkExist: False,
RunnerName: String,
ShortForm: String,
RunnerRaceCardNumber: String,
Barrier: String,
JockeyName: String,
Trainer: String,
WeightCarried: String
}
]
}