TBS Apps API

<back to all web services

NextSportsMarketsRequest

The following routes are available for this service:
GET/NextSportsMarketsGets Next Sports Market Links.
NextSportsMarketsRequest Parameters:
NameParameterData TypeRequiredDescription
EventTypeIdqueryintNoEvent Type ID
NextSportsMarketsResponse Parameters:
NameParameterData TypeRequiredDescription
ItemsformList<NextSportsMarkets>No
NextSportsMarkets Parameters:
NameParameterData TypeRequiredDescription
EventTypeIdformintNo
EventTypeformstringNo
MasterCategoryIdformintNo
MasterCategoryNameformstringNo
CategoryIdformintNo
CategoryNameformstringNo
MasterEventIdformintNo
MasterEventNameformstringNo
OrderByIdformintNo
MinAdvertisedStartTimeformDateTimeNo
EventCountformintNo
SecondsToJumpformintNo
EventTypeIcoformstringNo

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

{
	Items: 
	[
		{
			EventTypeId: 0,
			EventType: String,
			MasterCategoryId: 0,
			MasterCategoryName: String,
			CategoryId: 0,
			CategoryName: String,
			MasterEventId: 0,
			MasterEventName: String,
			OrderById: 0,
			MinAdvertisedStartTime: 0001-01-01,
			EventCount: 0,
			SecondsToJump: -2147483648,
			EventTypeIco: icon-unknown
		}
	]
}