TBS Apps API

<back to all web services

BetInterceptDetailRequest

Requires Authentication
Gets the details of an intercepted betGets the details of an interecepted bet. Bets are intercpeted when intrecept criteria are met for a certain client on a certain bet type.
BetInterceptDetailRequest Parameters:
NameParameterData TypeRequiredDescription
InterceptIdbodylongNoUnique Identifier of the intercept. This is bound to a Bet Id.
BetIntercept Parameters:
NameParameterData TypeRequiredDescription
InterceptIdformlongNo
ParentInterceptIdformlong?No
InterceptStatusIdformbyteNo
InsertedTimeformDateTimeNo
UserAcceptanceStartTimeformDateTime?No
UserAcceptedTimeformDateTime?No
UserTimedOutTimeformDateTime?No
BetIdformlong?No
TicketNumberformstringNo
AdminAcceptedTimeformDateTime?No
BetTypeCodeformstringNo
ClientIdformintNo
AccountTypeIdformbyteNo
ChannelIdformshortNo
FixedMarketIdformlong?No
EventIdformint?No
OutcomeIdformint?No
EventMultipleIdformint?No
BetDetailTypeCodeformstringNo
MarketTypeCodeformstringNo
DividendTypeCodeformstringNo
BetSubTypeCodeformstringNo
FixedPriceformdecimal?No
FixedPricePlaceformdecimal?No
Pointsformdecimal?No
TotalStakeformdecimal?No
FieldSizeformint?No
FinalFieldformbool?No
FixedPlaceGettersformshort?No
ClientFactorformdecimal?No
BetInterceptRuleIdformbyte?No
CombinedFactorformdecimal?No
MaxAllowedTotalStakeformdecimal?No
CalculatedTotalLinesformint?No
MDividendTypeCodeformstringNo
MFixedPriceformdecimal?No
MFixedPricePlaceformdecimal?No
MPointsformdecimal?No
MTotalStakeformdecimal?No
AErrorNoformint?No
AErrorTextformstringNo
BetInterceptReasonIdformshortNo
PollingSecondsformintNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .soap12 suffix or ?format=soap12

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

<BetInterceptDetailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.RequestLayer.RequestFunctions">
  <InterceptId>0</InterceptId>
</BetInterceptDetailRequest>

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

<BetIntercept xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.MessageContracts">
  <AErrorNo>0</AErrorNo>
  <AErrorText>String</AErrorText>
  <AccountTypeId>0</AccountTypeId>
  <AdminAcceptedTime>0001-01-01T00:00:00</AdminAcceptedTime>
  <BetDetailTypeCode>String</BetDetailTypeCode>
  <BetId>0</BetId>
  <BetInterceptReasonId>0</BetInterceptReasonId>
  <BetInterceptRuleId>0</BetInterceptRuleId>
  <BetSubTypeCode>String</BetSubTypeCode>
  <BetTypeCode>String</BetTypeCode>
  <CalculatedTotalLines>0</CalculatedTotalLines>
  <ChannelId>0</ChannelId>
  <ClientFactor>0</ClientFactor>
  <ClientId>0</ClientId>
  <CombinedFactor>0</CombinedFactor>
  <DividendTypeCode>String</DividendTypeCode>
  <EventId>0</EventId>
  <EventMultipleId>0</EventMultipleId>
  <FieldSize>0</FieldSize>
  <FinalField>false</FinalField>
  <FixedMarketId>0</FixedMarketId>
  <FixedPlaceGetters>0</FixedPlaceGetters>
  <FixedPrice>0</FixedPrice>
  <FixedPricePlace>0</FixedPricePlace>
  <InsertedTime>0001-01-01T00:00:00</InsertedTime>
  <InterceptId>0</InterceptId>
  <InterceptStatusId>0</InterceptStatusId>
  <MDividendTypeCode>String</MDividendTypeCode>
  <MFixedPrice>0</MFixedPrice>
  <MFixedPricePlace>0</MFixedPricePlace>
  <MPoints>0</MPoints>
  <MTotalStake>0</MTotalStake>
  <MarketTypeCode>String</MarketTypeCode>
  <MaxAllowedTotalStake>0</MaxAllowedTotalStake>
  <OutcomeId>0</OutcomeId>
  <ParentInterceptId>0</ParentInterceptId>
  <Points>0</Points>
  <PollingSeconds>0</PollingSeconds>
  <TicketNumber>String</TicketNumber>
  <TotalStake>0</TotalStake>
  <UserAcceptanceStartTime>0001-01-01T00:00:00</UserAcceptanceStartTime>
  <UserAcceptedTime>0001-01-01T00:00:00</UserAcceptedTime>
  <UserTimedOutTime>0001-01-01T00:00:00</UserTimedOutTime>
</BetIntercept>

    </soap12:Body>
</soap12:Envelope>