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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Items":[{"EventTypeId":0,"EventType":"String","MasterCategoryId":0,"MasterCategoryName":"String","CategoryId":0,"CategoryName":"String","MasterEventId":0,"MasterEventName":"String","OrderById":0,"MinAdvertisedStartTime":"\/Date(-62135596800000)\/","EventCount":0,"SecondsToJump":-2147483648,"EventTypeIco":"icon-unknown"}]}