TBS Apps API

<back to all web services

SportsQuickAccessMarketsRequest

The following routes are available for this service:
GET,POST/SportsQuickAccessMarketsGets a list of sports quick access markets.Gets a list of sports quick access markets.
SportsQuickAccessMarketsRequest Parameters:
NameParameterData TypeRequiredDescription
CategoryIdbodyintNoCategoryId
EventTypeIdbodyintNoEventTypeId
MasterCategoryIdbodyintNoMasterCategoryId
EventTypeIdsbodystringNoMore than one event type id, comma separated
SportsQuickAccessMarketsResponse Parameters:
NameParameterData TypeRequiredDescription
ItemsformList<SportsQuickAccessMarket>No
SportsQuickAccessMarket Parameters:
NameParameterData TypeRequiredDescription
MasterEventIdformintNo
EventIdformlongNo
EventNameformstringNo
EventClassIdformintNo
OutcomeIdformintNo
OutcomeNameformstringNo
FixedMarketIdformlongNo
MarketTypeCodeformstringNo
BetDetailTypeCodeformstringNo
MarketDescformstringNo
PriceformdecimalNo
PointsformdecimalNo
MultiBetExceptionsformMultiBetExceptionsNo
EventRuleformstringNo
IsOpenForBettingformboolNo
IsFeatureEventformboolNo
OutomeJSONformstringNo
IsFuturesEnabledformboolNo
MultiBetExceptions Parameters:
NameParameterData TypeRequiredDescription
CategoryClassformClassExceptionsNo
MasterEventClassformClassExceptionsNo
ClassExceptions Parameters:
NameParameterData TypeRequiredDescription
AllowedformEventClassExceptionsNo
DeniedformEventClassExceptionsNo
EventClassExceptions Parameters:
NameParameterData TypeRequiredDescription
WildcardformboolNo
EventClassesformList<List<Int32>>No

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

{
	CategoryId: 0,
	EventTypeId: 0,
	MasterCategoryId: 0,
	EventTypeIds: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Items: 
	[
		{
			MasterEventId: 0,
			EventId: 0,
			EventName: String,
			EventClassId: 0,
			OutcomeId: 0,
			OutcomeName: String,
			FixedMarketId: 0,
			MarketTypeCode: String,
			BetDetailTypeCode: String,
			MarketDesc: String,
			Price: 0,
			Points: 0,
			MultiBetExceptions: 
			{
				CategoryClass: 
				{
					Allowed: 
					{
						Wildcard: False,
						EventClasses: 
						[
							[
								0
							]
						]
					},
					Denied: 
					{
						Wildcard: False,
						EventClasses: 
						[
							[
								0
							]
						]
					}
				},
				MasterEventClass: 
				{
					Allowed: 
					{
						Wildcard: False,
						EventClasses: 
						[
							[
								0
							]
						]
					},
					Denied: 
					{
						Wildcard: False,
						EventClasses: 
						[
							[
								0
							]
						]
					}
				}
			},
			EventRule: String,
			IsOpenForBetting: False,
			IsFeatureEvent: False,
			OutomeJSON: String,
			IsFuturesEnabled: False
		}
	]
}