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 .xml suffix or ?format=xml

HTTP + XML

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/xml
Content-Type: application/xml
Content-Length: length

<ClientPromotionsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.RequestLayer.RequestFunctions" />
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<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>