TBS Apps API

<back to all web services

RaceShortFormRequest

The following routes are available for this service:
GET,POST/RaceShortFormGets the short form for a given runner in a raceGets race short form.
RaceShortFormRequest Parameters:
NameParameterData TypeRequiredDescription
EventIdbodyintNoEventId
OutcomeIdbodyintNoOutcomeId
RunnerForm Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
TabNumberformintNo
BarrierformstringNo
PrizeMoneyWonformintNo
JockeyformstringNo
JockeyStatisticsformList<Statistic>No
WeightformdecimalNo
TrainerformstringNo
TrainingLocationformstringNo
OwnersformstringNo
AgeInYearsformintNo
SexformstringNo
ColourformstringNo
SireformstringNo
SireCountryformstringNo
DamformstringNo
DamCountryformstringNo
StatisticsformList<Statistic>No
LatestFormformList<PreviousForm>No
LastTenStartsformstringNo
LastFourStartsformstringNo
FixedWinPriceformdecimal?No
FixedPlacePriceformdecimal?No
ScratchedformboolNo
RatingformstringNo
FlucsformList<Fluc>No
Statistic Parameters:
NameParameterData TypeRequiredDescription
TypeformstringNo
TotalformintNo
FirstsformintNo
SecondsformintNo
ThirdsformintNo
PreviousForm Parameters:
NameParameterData TypeRequiredDescription
RaceDateformDateTimeNo
TrackNameformstringNo
NumberOfRunnersformstringNo
FinishformstringNo
DistanceformintNo
RaceClassformstringNo
JockeyformstringNo
WeightCarriedformdecimalNo
BarrierformintNo
StartingPriceformstringNo
TrackConditionformstringNo
WinnerNameformstringNo
RaceTimeformdecimalNo
MarginformstringNo
RunnerUpNameformstringNo
Fluc Parameters:
NameParameterData TypeRequiredDescription
OffsetformintNo
PriceformdecimalNo

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 /RaceShortForm HTTP/1.1 
Host: tstextweb20.np.bluebet.com.au 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	EventId: 0,
	OutcomeId: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Name: String,
	TabNumber: 0,
	Barrier: String,
	PrizeMoneyWon: 0,
	Jockey: String,
	JockeyStatistics: 
	[
		{
			Type: String,
			Total: 0,
			Firsts: 0,
			Seconds: 0,
			Thirds: 0
		}
	],
	Weight: 0,
	Trainer: String,
	TrainingLocation: String,
	Owners: String,
	AgeInYears: 0,
	Sex: String,
	Colour: String,
	Sire: String,
	SireCountry: String,
	Dam: String,
	DamCountry: String,
	Statistics: 
	[
		{
			Type: String,
			Total: 0,
			Firsts: 0,
			Seconds: 0,
			Thirds: 0
		}
	],
	LatestForm: 
	[
		{
			RaceDate: 0001-01-01,
			TrackName: String,
			NumberOfRunners: String,
			Finish: String,
			Distance: 0,
			RaceClass: String,
			Jockey: String,
			WeightCarried: 0,
			Barrier: 0,
			StartingPrice: String,
			TrackCondition: String,
			WinnerName: String,
			RaceTime: 0,
			Margin: String,
			RunnerUpName: String
		}
	],
	LastTenStarts: String,
	LastFourStarts: String,
	FixedWinPrice: 0,
	FixedPlacePrice: 0,
	Scratched: False,
	Rating: String,
	Flucs: 
	[
		{
			
		}
	]
}