TBS Apps API

<back to all web services

GetClientPromotionsBetTriggerCriteriaDetailsRequest

Gets promotion bet trigger criteria details for logged-in and non-logged-in userGets promotions for logged-in and non-logged-in user
GetClientPromotionsBetTriggerCriteriaDetailsResponse Parameters:
NameParameterData TypeRequiredDescription
ClientPromotionsBetTriggerCriteriaDetailsformList<ClientPromotionsBetTriggerCriteriaDetail>No
ResponseDataBase Parameters:
NameParameterData TypeRequiredDescription
ErrorNoformintNo
MessageformstringNo
Identityformlong?No
ClientPromotionsBetTriggerCriteriaDetail Parameters:
NameParameterData TypeRequiredDescription
PromotionIdformintNo
PromoEndDateformDateTimeNo
MasterEventIdformstringNo
EventIdformstringNo
EventTypeIdformstringNo
EventClassIdformstringNo
CategoryIdformstringNo
MasterCategoryIdformstringNo
MasterEventClassIdformstringNo
MasterEventTypeIdformstringNo
MasterCategoryClassIdformstringNo

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

HTTP + SOAP11

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /soap11 HTTP/1.1 
Host: tstextweb20.np.bluebet.com.au 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: GetClientPromotionsBetTriggerCriteriaDetailsRequest

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

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

    </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<GetClientPromotionsBetTriggerCriteriaDetailsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.RequestLayer.RequestFunctions">
  <ErrorNo xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.Messaging.DataContracts">0</ErrorNo>
  <Identity xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.Messaging.DataContracts">0</Identity>
  <Message xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.Messaging.DataContracts">String</Message>
  <ClientPromotionsBetTriggerCriteriaDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/TBS.Frontend.Messaging.DataContracts">
    <d2p1:ClientPromotionsBetTriggerCriteriaDetail>
      <d2p1:CategoryId>String</d2p1:CategoryId>
      <d2p1:EventClassId>String</d2p1:EventClassId>
      <d2p1:EventId>String</d2p1:EventId>
      <d2p1:EventTypeId>String</d2p1:EventTypeId>
      <d2p1:MasterCategoryClassId>String</d2p1:MasterCategoryClassId>
      <d2p1:MasterCategoryId>String</d2p1:MasterCategoryId>
      <d2p1:MasterEventClassId>String</d2p1:MasterEventClassId>
      <d2p1:MasterEventId>String</d2p1:MasterEventId>
      <d2p1:MasterEventTypeId>String</d2p1:MasterEventTypeId>
      <d2p1:PromoEndDate>0001-01-01T00:00:00</d2p1:PromoEndDate>
      <d2p1:PromotionId>0</d2p1:PromotionId>
    </d2p1:ClientPromotionsBetTriggerCriteriaDetail>
  </ClientPromotionsBetTriggerCriteriaDetails>
</GetClientPromotionsBetTriggerCriteriaDetailsResponse>

    </soap:Body>
</soap:Envelope>