TBS Apps API

<back to all web services

MarketMoversRequest

The following routes are available for this service:
GET,POST/MarketMoversGets the Martket movers for upcoming racesGets the Martket movers for upcoming races
MarketMoversResponse Parameters:
NameParameterData TypeRequiredDescription
ItemsformList<MarketMover>No
MarketMover Parameters:
NameParameterData TypeRequiredDescription
EventIdformlongNo
WinFixedMarketIDformlongNo
PlcFixedMarketIDformlongNo
EventNameformstringNo
VenueformstringNo
RaceNumberformintNo
EventTypeIDformintNo
SecondsToJumpformintNo
AdvertisedStartTimeformDateTimeNo
OutcomeIDformintNo
OutcomeNameformstringNo
WeightformstringNo
ShortFormformstringNo
ScratchedformboolNo
Jockey_DriverformstringNo
TrainerformstringNo
IsFavouriteformboolNo
Winformdecimal?No
Placeformdecimal?No
BoostPriceformdecimal?No
OutcomeFlucformOutcomeFlucNo
OutcomeFluc Parameters:
NameParameterData TypeRequiredDescription
OutcomeIdformintNo
FlucsformList<Fluc>No
Fluc Parameters:
NameParameterData TypeRequiredDescription
OffsetformintNo
PriceformdecimalNo

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

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /MarketMovers 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,"WinFixedMarketID":0,"PlcFixedMarketID":0,"EventName":"String","Venue":"String","RaceNumber":0,"EventTypeID":0,"SecondsToJump":0,"AdvertisedStartTime":"0001-01-01T00:00:00.0000000Z","OutcomeID":0,"OutcomeName":"String","Weight":"String","ShortForm":"String","Scratched":false,"Jockey_Driver":"String","Trainer":"String","IsFavourite":false,"Win":0,"Place":0,"BoostPrice":0,"OutcomeFluc":{"OutcomeId":0,"Flucs":[{}]}}]}