TBS Apps API

<back to all web services

CategoryGroupBlueysSpecialRequest

The following routes are available for this service:
GET,POST/CategoryGroupBlueysSpecialGet category group for BlueysSpecial and BlueysStubbyClubGet category group for BlueysSpecial and BlueysStubbyClub
CategoryGroupBlueysSpecialRequest Parameters:
NameParameterData TypeRequiredDescription
EventTypeIDbodyintYesEvent Type ID
CategoryGroupBlueysSpecialResponse Parameters:
NameParameterData TypeRequiredDescription
EventTypeDescformstringNo
EventTypeIdformintNo
MasterCategoriesformList<MasterCategoryGroupedItemMasterCategory>No
MasterCategoryGroupedItemMasterCategory Parameters:
NameParameterData TypeRequiredDescription
MasterCategoryIdformintNo
MasterCategoryformstringNo
CategoriesformList<MasterCategoryGroupedItemCategory>No
MasterCategoryGroupedItemCategory Parameters:
NameParameterData TypeRequiredDescription
CategoryIdformintNo
CategoryNameformstringNo
OutcomeJSONformstringNo
IsFeatureEventformboolNo
MasterEventsformList<SportsHeaderItem>No
HasSameGameMultiformboolNo
IsFuturesEnabledformboolNo
StylingTierformstringNo
SportsHeaderItem Parameters:
NameParameterData TypeRequiredDescription
CategoryIdformintNo
CategoryNameformstringNo
EventCountformintNo
EventTypeDescformstringNo
EventTypeIdformintNo
MasterCategoryIdformintNo
MasterCategoryNameformstringNo
MasterEventClassIdformintNo
MasterEventIdformintNo
MasterEventNameformstringNo
MasterEventTypeIdformintNo
MaxAdvertisedStartTimeformDateTimeNo
MinAdvertisedStartTimeformDateTimeNo
SecondsToJumpformintNo
MarketsformList<SportsQuickAccessMarket>No
H2HOutcomeCountformintNo
EventClassCodeformstringNo
EventRuleformstringNo
MasterCategoryClassIdformintNo
HasSameGameMultiformboolNo
IsOpenForBettingformboolNo
IsFeatureEventformboolNo
OutomeJSONformstringNo
IsFuturesEnabledformboolNo
MatchSummaryMessageformstringNo
IsLiveformboolNo
SortOrderformintNo
BetTypeCodesWithLiveActivityformstring[]No
CanTrackBetformboolNo
StylingTierformstringNo
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 /CategoryGroupBlueysSpecial HTTP/1.1 
Host: tstextweb20.np.bluebet.com.au 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	EventTypeID: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	EventTypeDesc: String,
	EventTypeId: 0,
	MasterCategories: 
	[
		{
			MasterCategoryId: 0,
			MasterCategory: String,
			Categories: 
			[
				{
					CategoryId: 0,
					CategoryName: String,
					OutcomeJSON: String,
					IsFeatureEvent: False,
					MasterEvents: 
					[
						{
							CategoryId: 0,
							CategoryName: String,
							EventCount: 0,
							EventTypeDesc: String,
							EventTypeId: 0,
							MasterCategoryId: 0,
							MasterCategoryName: String,
							MasterEventClassId: 0,
							MasterEventId: 0,
							MasterEventName: String,
							MasterEventTypeId: 0,
							MaxAdvertisedStartTime: 0001-01-01,
							MinAdvertisedStartTime: 0001-01-01,
							SecondsToJump: 0,
							Markets: 
							[
								{
									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
								}
							],
							H2HOutcomeCount: 0,
							EventClassCode: String,
							EventRule: String,
							MasterCategoryClassId: 0,
							HasSameGameMulti: False,
							IsOpenForBetting: False,
							IsFeatureEvent: False,
							OutomeJSON: String,
							IsFuturesEnabled: False,
							MatchSummaryMessage: String,
							IsLive: False,
							SortOrder: 0,
							BetTypeCodesWithLiveActivity: 
							[
								String
							],
							CanTrackBet: False,
							StylingTier: String
						}
					],
					HasSameGameMulti: False,
					IsFuturesEnabled: False,
					StylingTier: String
				}
			]
		}
	]
}