TBS Apps API

<back to all web services

UmbracoFeaturedMeetingsRequest

The following routes are available for this service:
GET,POST/cms/featured-meetingsGets featured meetings from the CMS.Gets Umbraco featured meetings.
UmbracoFeaturedMeetingsResponse Parameters:
NameParameterData TypeRequiredDescription
ItemsformList<UmbracoFeaturedMeeting>No
UmbracoFeaturedMeeting Parameters:
NameParameterData TypeRequiredDescription
ContentformDtoUmbracoFeaturedMeetingNo
RacesformList<RaceReference>No
DtoUmbracoFeaturedMeeting Parameters:
NameParameterData TypeRequiredDescription
ContentIdformintNo
NameformstringNo
RacingEventTypeformstringNo
EventTypeIdformintNo
EventIdformintNo
MasterCategoryNameformstringNo
VenueformstringNo
RaceNumberformint?No
StreamProvidersformList<string>No
RaceReference Parameters:
NameParameterData TypeRequiredDescription
RaceNumberformintNo
EventIdformintNo
AdvertisedStartTimeformDateTimeNo
TimeToJumpformstringNo
ResultStatusformstringNo
ResultStatusDescformstringNo
PlacingformstringNo
SecondsToJumpformint?No
IsOpenForBettingformboolNo
EventNameformstringNo

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 /cms/featured-meetings HTTP/1.1 
Host: ios-api.betright.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":[{"Content":{"ContentId":0,"Name":"String","RacingEventType":"String","EventTypeId":0,"EventId":0,"MasterCategoryName":"String","Venue":"String","RaceNumber":0,"StreamProviders":["String"]},"Races":[{"RaceNumber":0,"EventId":0,"AdvertisedStartTime":"\/Date(-62135596800000)\/","TimeToJump":"-1065338209m","ResultStatus":"String","ResultStatusDesc":"Closed","Placing":"String","SecondsToJump":0,"IsOpenForBetting":false,"EventName":"String"}]}]}