| GET, POST | /ClientPromotions | Gets 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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: application/json
Content-Type: application/json
Content-Length: length
{}
HTTP/1.1 200 OK
Content-Type: application/json
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-01T00:00:00.0000000Z","PromoEndDateUTC":"0001-01-01T00:00:00.0000000Z","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-01T00:00:00.0000000Z","MaxCountPerDay":0,"MaxCountPerPromotionPeriod":0,"DayUsedCount":0,"PeriodUsedCount":0,"AvailableCount":0,"SortOrder":0,"IsTokenised":false,"IsVisibleInWallet":false,"UsedEventIDs":[0],"UsedMasterEventIDs":[0],"SplitGroupID":0}]}]