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 .jsv suffix or ?format=jsv

HTTP + 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
		}
	]
}