TBS Apps API

<back to all web services

FavouriteClientListRequest

Requires Authentication
FavouriteResponse Parameters:
NameParameterData TypeRequiredDescription
ErrorNoformintNo
MessageformstringNo
FavouritesformList<Favourite>No
Favourite Parameters:
NameParameterData TypeRequiredDescription
DefaultFavouriteMarketIDformint?No
LevelformstringNo
EventTypeIDformintNo
CategoryIDformint?No
CategoryExternalIDformint?No
MasterCategoryIDformint?No
NameformstringNo
OrderByIDformintNo

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

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

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

<FavouriteResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.RequestLayer.RequestFunctions">
  <ErrorNo>0</ErrorNo>
  <Favourites xmlns:d2p1="http://schemas.datacontract.org/2004/07/TBS.Frontend.Messaging.DataContracts">
    <d2p1:Favourite>
      <d2p1:CategoryExternalID>0</d2p1:CategoryExternalID>
      <d2p1:CategoryID>0</d2p1:CategoryID>
      <d2p1:DefaultFavouriteMarketID>0</d2p1:DefaultFavouriteMarketID>
      <d2p1:EventTypeID>0</d2p1:EventTypeID>
      <d2p1:Level>String</d2p1:Level>
      <d2p1:MasterCategoryID>0</d2p1:MasterCategoryID>
      <d2p1:Name>String</d2p1:Name>
      <d2p1:OrderByID>0</d2p1:OrderByID>
    </d2p1:Favourite>
  </Favourites>
  <Message>String</Message>
</FavouriteResponse>

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