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 .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 /cms/featured-meetings HTTP/1.1 
Host: ios-api.betright.com.au 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	
}
HTTP/1.1 200 OK
Content-Type: text/jsv
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: 0001-01-01,
					TimeToJump: -1065338127m,
					ResultStatus: String,
					ResultStatusDesc: Closed,
					Placing: String,
					SecondsToJump: 0,
					IsOpenForBetting: False,
					EventName: String
				}
			]
		}
	]
}