TBS Apps API

<back to all web services

ContentfulFeaturedEventRacingRequest

The following routes are available for this service:
GET/ContentfulFeaturedEventRacingGet all Contentful Featured Event RacingGet all Contentful Featured Event Racing
ContentfulFeaturedEventRacingResponse Parameters:
NameParameterData TypeRequiredDescription
ContentfulFeaturedEventformList<ContentfulFeaturedEvent>No
ResponseDataBase Parameters:
NameParameterData TypeRequiredDescription
ErrorNoformintNo
MessageformstringNo
Identityformlong?No
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 /ContentfulFeaturedEventRacing 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: 
	[
		{
			EventOrder: 0,
			EventID: 0,
			EventName: String,
			PromotionTitle: String,
			PromotionDetail: String
		}
	],
	ErrorNo: 0,
	Message: String,
	Identity: 0
}