TBS Apps API

<back to all web services

ContentfulFeaturedEventSportsRequest

The following routes are available for this service:
GET/ContentfulFeaturedEventSportsGet all Contentful Featured Event SportsGet all Contentful Featured Event Sports
ContentfulFeaturedEventSportsResponse Parameters:
NameParameterData TypeRequiredDescription
ContentfulFeaturedEventformList<ContentfulFeaturedEventSport>No
ResponseDataBase Parameters:
NameParameterData TypeRequiredDescription
ErrorNoformintNo
MessageformstringNo
Identityformlong?No
ContentfulFeaturedEventSport Parameters:
NameParameterData TypeRequiredDescription
EventDetailformstringNo
ContentfulFeaturedEvent Parameters:
NameParameterData TypeRequiredDescription
EventOrderformintNo
EventIDformintNo
EventNameformstringNo
PromotionTitleformstringNo
PromotionDetailformstringNo

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.

GET /ContentfulFeaturedEventSports HTTP/1.1 
Host: tstextweb20.np.bluebet.com.au 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ContentfulFeaturedEvent: 
	[
		{
			EventDetail: String,
			EventOrder: 0,
			EventID: 0,
			EventName: String,
			PromotionTitle: String,
			PromotionDetail: String
		}
	],
	ErrorNo: 0,
	Message: String,
	Identity: 0
}