TBS Apps API

<back to all web services

FavouriteDefaultListRequest

Requires Authentication
The following routes are available for this service:
GET/FavouriteDefaultListGet default Favourite List for the currently authenticated userDefault Favourite List
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 .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.

GET /FavouriteDefaultList HTTP/1.1 
Host: tstextweb20.np.bluebet.com.au 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

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