TBS Apps API

<back to all web services

GroupedFeedRaceCardRequest

The following routes are available for this service:
GET,POST/GroupedFeedRaceCardGet a race card (thoroughbred,harness and greyhound races) for a given day-offsetGet a race card for a given day-offset. For example DaysToRace => 0 means today's racecard.
GroupedFeedRaceCardRequest Parameters:
NameParameterData TypeRequiredDescription
DaysToRacebodyintNoDays To Race
GroupedFeedRaceCard Parameters:
NameParameterData TypeRequiredDescription
ThoroughbredformList<List<FeedRaceCardItem>>No
GreyhoundsformList<List<FeedRaceCardItem>>No
TrotsformList<List<FeedRaceCardItem>>No

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 /GroupedFeedRaceCard HTTP/1.1 
Host: ios-api.betright.com.au 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"DaysToRace":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Thoroughbred":[[{"EventTypeId":0,"EventTypeDesc":"String","BTEventId":0,"BMEventId":0,"BTVenueId":0,"BMVenueId":0,"Venue":"String","CountryCode":"String","RaceNumber":0,"AdvertisedStartTime":"\/Date(-62135596800000)\/","ActualStartTime":"\/Date(-62135596800000)\/","ResultStatusId":0,"IsOpenForBetting":false,"EventName":{}}]],"Greyhounds":[[{"EventTypeId":0,"EventTypeDesc":"String","BTEventId":0,"BMEventId":0,"BTVenueId":0,"BMVenueId":0,"Venue":"String","CountryCode":"String","RaceNumber":0,"AdvertisedStartTime":"\/Date(-62135596800000)\/","ActualStartTime":"\/Date(-62135596800000)\/","ResultStatusId":0,"IsOpenForBetting":false,"EventName":{}}]],"Trots":[[{"EventTypeId":0,"EventTypeDesc":"String","BTEventId":0,"BMEventId":0,"BTVenueId":0,"BMVenueId":0,"Venue":"String","CountryCode":"String","RaceNumber":0,"AdvertisedStartTime":"\/Date(-62135596800000)\/","ActualStartTime":"\/Date(-62135596800000)\/","ResultStatusId":0,"IsOpenForBetting":false,"EventName":{}}]]}