TBS Apps API

<back to all web services

ClientPromotionsRequest

Requires Authentication
The following routes are available for this service:
GET, POST/ClientPromotionsGets client promotions.Gets client promotions (Blueboost, Bonus bets and Bet tokens etc.

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

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

[
	{
		PromotionTypeCode: String,
		PromotionTypeDisplayName: String,
		TotalBonusAmount: 0,
		SortOrder: 0,
		Promotions: 
		[
			{
				PromoUID: String,
				PromotionID: 0,
				FreeBetID: 0,
				BonusBetAmount: 0,
				PromotionTypeCode: String,
				Title: String,
				PromoDescription: String,
				PromoStartDateUTC: 0001-01-01,
				PromoEndDateUTC: 0001-01-01,
				MinimumLegPrice: 0,
				MinimumMultiPrice: 0,
				MinimumTotalStake: 0,
				MinimumMultiLegs: 0,
				MinimumOutcomes: 0,
				BetTypeCodes: 
				[
					String
				],
				BetSubTypeCodes: 
				[
					String
				],
				BetDetailTypeCodes: 
				[
					String
				],
				MarketTypeCodes: 
				[
					String
				],
				DividendTypeCodes: 
				[
					String
				],
				EventTypeIDs: 
				[
					0
				],
				MasterCategoryIDs: 
				[
					0
				],
				CategoryIDs: 
				[
					0
				],
				MasterEventIDs: 
				[
					0
				],
				EventIDs: 
				[
					0
				],
				MasterCategoryClassIDs: 
				[
					0
				],
				CategoryClassIDs: 
				[
					0
				],
				MasterEventClassIDs: 
				[
					0
				],
				EventClassIDs: 
				[
					0
				],
				ChannelIDs: 
				[
					0
				],
				BBExtraEventIDs: 
				[
					0
				],
				ClientState: 
				[
					String
				],
				PromoUsageDate: 0001-01-01,
				MaxCountPerDay: 0,
				MaxCountPerPromotionPeriod: 0,
				DayUsedCount: 0,
				PeriodUsedCount: 0,
				AvailableCount: 0,
				SortOrder: 0,
				IsTokenised: False,
				IsVisibleInWallet: False,
				UsedEventIDs: 
				[
					0
				],
				UsedMasterEventIDs: 
				[
					0
				],
				SplitGroupID: 0
			}
		]
	}
]