TBS Apps API

<back to all web services

SuggestedBetsRequest

The following routes are available for this service:
GET,POST/SuggestedBetsGets the Suggested Bets for a clientGets the Suggested Bets for a client
SuggestedBetsResponse Parameters:
NameParameterData TypeRequiredDescription
ItemsformList<SuggestedBet>No
SuggestedBet Parameters:
NameParameterData TypeRequiredDescription
EventIDformintNo
ClientIDformintNo
OutcomeIDformintNo
ShortTipReasonformstringNo
LongTipReasonformstringNo
RaceVenueformstringNo
RaceNumberformintNo
AdvertisedStartTimeformDateTimeNo
SecondsToJumpformintNo
IsJockeySilkExistformboolNo
RunnerNameformstringNo
ShortFormformstringNo
RunnerRaceCardNumberformstringNo
BarrierformstringNo
JockeyNameformstringNo
TrainerformstringNo
WeightCarriedformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

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/csv
Content-Type: text/csv
Content-Length: length

{}
HTTP/1.1 200 OK
Content-Type: text/csv
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"}]}