TBS Apps API

<back to all web services

PopularMarketCategoryLinksRequest

The following routes are available for this service:
GET,POST/PopularMarketCategoryLinksGets Popular Market Category Links.Gets Popular Market Category Links. These are used as top-level sports league events to fetch child markets. Popular markets are set up through EventAdmin
PopularMarketCategoryLinksResponse Parameters:
NameParameterData TypeRequiredDescription
ItemsformList<PopularMarketCategoryLinksResponseItem>No
PopularMarketCategoryLinksResponseItem Parameters:
NameParameterData TypeRequiredDescription
EventTypeIdformintNo
EventTypeIcoformstringNo
CategoriesformList<PopularMarketCategoryLinksResponseCategory>No
PopularMarketCategoryLinksResponseCategory Parameters:
NameParameterData TypeRequiredDescription
CategoryIdformintNo
CategoryNameformstringNo
MasterEventsformList<PopularMarketCategoryLink>No
PopularMarketCategoryLink Parameters:
NameParameterData TypeRequiredDescription
EventTypeIdformintNo
MasterCategoryIdformintNo
CategoryIdformintNo
MasterEventIdformintNo
MasterEventNameformstringNo
CategoryNameformstringNo
EventCountformintNo
EventTypeformstringNo
MasterCategoryNameformstringNo
IsSgmEnabledformboolNo

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 /PopularMarketCategoryLinks 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: 
	[
		{
			EventTypeId: 0,
			EventTypeIco: String,
			Categories: 
			[
				{
					CategoryId: 0,
					CategoryName: String,
					MasterEvents: 
					[
						{
							EventTypeId: 0,
							MasterCategoryId: 0,
							CategoryId: 0,
							MasterEventId: 0,
							MasterEventName: String,
							CategoryName: String,
							EventCount: 0,
							EventType: String,
							MasterCategoryName: String,
							IsSgmEnabled: False
						}
					]
				}
			]
		}
	]
}