| 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 .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 /SuggestedBets HTTP/1.1
Host: tstextweb20.np.bluebet.com.au
Accept: application/json
Content-Type: application/json
Content-Length: length
{}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"Items":[{"EventID":0,"ClientID":0,"OutcomeID":0,"ShortTipReason":"String","LongTipReason":"String","RaceVenue":"String","RaceNumber":0,"AdvertisedStartTime":"0001-01-01T00:00:00.0000000Z","SecondsToJump":0,"IsJockeySilkExist":false,"RunnerName":"String","ShortForm":"String","RunnerRaceCardNumber":"String","Barrier":"String","JockeyName":"String","Trainer":"String","WeightCarried":"String"}]}