| 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 .soap12 suffix or ?format=soap12
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /soap12 HTTP/1.1
Host: tstextweb20.np.bluebet.com.au
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<ClientPromotionsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.RequestLayer.RequestFunctions" />
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<ArrayOfPromotion xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.Messaging.Messages">
<Promotion>
<PromotionTypeCode>String</PromotionTypeCode>
<PromotionTypeDisplayName>String</PromotionTypeDisplayName>
<Promotions>
<PromotionItem>
<AvailableCount>0</AvailableCount>
<BBExtraEventIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:int>0</d5p1:int>
</BBExtraEventIDs>
<BetDetailTypeCodes xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:string>String</d5p1:string>
</BetDetailTypeCodes>
<BetSubTypeCodes xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:string>String</d5p1:string>
</BetSubTypeCodes>
<BetTypeCodes xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:string>String</d5p1:string>
</BetTypeCodes>
<BonusBetAmount>0</BonusBetAmount>
<CategoryClassIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:int>0</d5p1:int>
</CategoryClassIDs>
<CategoryIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:int>0</d5p1:int>
</CategoryIDs>
<ChannelIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:int>0</d5p1:int>
</ChannelIDs>
<ClientState xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:string>String</d5p1:string>
</ClientState>
<DayUsedCount>0</DayUsedCount>
<DividendTypeCodes xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:string>String</d5p1:string>
</DividendTypeCodes>
<EventClassIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:int>0</d5p1:int>
</EventClassIDs>
<EventIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:int>0</d5p1:int>
</EventIDs>
<EventTypeIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:int>0</d5p1:int>
</EventTypeIDs>
<FreeBetID>0</FreeBetID>
<IsTokenised>false</IsTokenised>
<IsVisibleInWallet>false</IsVisibleInWallet>
<MarketTypeCodes xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:string>String</d5p1:string>
</MarketTypeCodes>
<MasterCategoryClassIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:int>0</d5p1:int>
</MasterCategoryClassIDs>
<MasterCategoryIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:int>0</d5p1:int>
</MasterCategoryIDs>
<MasterEventClassIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:int>0</d5p1:int>
</MasterEventClassIDs>
<MasterEventIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:int>0</d5p1:int>
</MasterEventIDs>
<MaxCountPerDay>0</MaxCountPerDay>
<MaxCountPerPromotionPeriod>0</MaxCountPerPromotionPeriod>
<MinimumLegPrice>0</MinimumLegPrice>
<MinimumMultiLegs>0</MinimumMultiLegs>
<MinimumMultiPrice>0</MinimumMultiPrice>
<MinimumOutcomes>0</MinimumOutcomes>
<MinimumTotalStake>0</MinimumTotalStake>
<PeriodUsedCount>0</PeriodUsedCount>
<PromoDescription>String</PromoDescription>
<PromoEndDateUTC>0001-01-01T00:00:00</PromoEndDateUTC>
<PromoStartDateUTC>0001-01-01T00:00:00</PromoStartDateUTC>
<PromoUID>String</PromoUID>
<PromoUsageDate>0001-01-01T00:00:00</PromoUsageDate>
<PromotionID>0</PromotionID>
<PromotionTypeCode>String</PromotionTypeCode>
<SortOrder>0</SortOrder>
<SplitGroupID>0</SplitGroupID>
<Title>String</Title>
<UsedEventIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:int>0</d5p1:int>
</UsedEventIDs>
<UsedMasterEventIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:int>0</d5p1:int>
</UsedMasterEventIDs>
</PromotionItem>
</Promotions>
<SortOrder>0</SortOrder>
</Promotion>
</ArrayOfPromotion>
</soap12:Body>
</soap12:Envelope>