TBS Apps API

<back to all web services

PopularMarketLinksRequest

The following routes are available for this service:
GET/PopularMarketLinksGets Popular Market Links.Gets Popular Market Links. Popular markets are set up through EventAdmin.
PopularMarketLinksResponse Parameters:
NameParameterData TypeRequiredDescription
ItemsformList<PopularMarketLink>No
PopularMarketLink Parameters:
NameParameterData TypeRequiredDescription
EventIdformintNo
MasterEventIdformintNo
CategoryIdformintNo
MasterCategoryIdformintNo
PopularMarketNameformstringNo
EventTypeIdformintNo
MasterEventNameformstringNo
CategoryNameformstringNo
EventTypeformstringNo
MasterCategoryNameformstringNo
VenueformstringNo
RaceNumberformint?No
OrderByIdformintNo
ModeformstringNo
EventTypeIcoformstringNo
HasSameGameMultiformboolNo

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 /PopularMarketLinks HTTP/1.1 
Host: tstextweb20.np.bluebet.com.au 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Items: 
	[
		{
			EventId: 0,
			MasterEventId: 0,
			CategoryId: 0,
			MasterCategoryId: 0,
			PopularMarketName: String,
			EventTypeId: 0,
			MasterEventName: String,
			CategoryName: String,
			EventType: String,
			MasterCategoryName: String,
			Venue: String,
			RaceNumber: 0,
			OrderById: 0,
			Mode: EventType,
			EventTypeIco: icon-unknown,
			HasSameGameMulti: False
		}
	]
}