TBS Apps API

<back to all web services

Fav4Request

The following routes are available for this service:
All Verbs/Fav4
Fav4Request Parameters:
NameParameterData TypeRequiredDescription
EventTypeFilterquerybyteNo1-Thoroughbred,2-Harness,4-Greyhounds. Default is 1
Fav4Response Parameters:
NameParameterData TypeRequiredDescription
ItemsformList<Fav4Outcome>No
Fav4Outcome Parameters:
NameParameterData TypeRequiredDescription
EventIdformintNo
EventTypeIdformintNo
MasterEventIdformintNo
VenueformstringNo
RaceNumberformintNo
BettingCloseTimeUtcformDateTimeNo
BettingCloseTimeformstringNo
TimeToJumpformintNo
FixedMarketIdformlongNo
PriceformdecimalNo
BoostPriceformdecimalNo
OutcomeIdformintNo
OutcomeNameformstringNo
Jockey_DriverformstringNo
TrainerformstringNo
ShortFormformstringNo
MasterCategoryNameformstringNo

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

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

{
	Items: 
	[
		{
			EventId: 0,
			EventTypeId: 0,
			MasterEventId: 0,
			Venue: String,
			RaceNumber: 0,
			BettingCloseTimeUtc: 0001-01-01,
			BettingCloseTime: "01/01/0001 11:00",
			TimeToJump: -2147483648,
			FixedMarketId: 0,
			Price: 0,
			BoostPrice: 0,
			OutcomeId: 0,
			OutcomeName: String,
			Jockey_Driver: String,
			Trainer: String,
			ShortForm: String,
			MasterCategoryName: String
		}
	]
}