TBS Apps API

<back to all web services

LBetTypeRequest

The following routes are available for this service:
GET,POST/LBetTypeLookup data - BetTypeGets BetTypes look up data
LBetTypeResponse Parameters:
NameParameterData TypeRequiredDescription
ItemsformList<DtoLBetType>No
DtoLBetType Parameters:
NameParameterData TypeRequiredDescription
BetTypeCodeformstringNo
BetTypeDescformstringNo
LBetSubTypesformList<DtoLBetSubType>No
DtoLBetSubType Parameters:
NameParameterData TypeRequiredDescription
BetSubTypeCodeformstringNo
BetTypeCodeformstringNo
BetSubTypeDescformstringNo
LegCountformintNo
LineCountformintNo
OddsLimitformint?No
BetDetailTypeCodeformstringNo
BetTypeformDtoLBetTypeNo

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

HTTP + CSV

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

POST /LBetType HTTP/1.1 
Host: tstextweb20.np.bluebet.com.au 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Items":[{"BetTypeCode":"String","BetTypeDesc":"String","LBetSubTypes":[{"BetSubTypeCode":"String","BetTypeCode":"String","BetSubTypeDesc":"String","LegCount":0,"LineCount":0,"OddsLimit":0,"BetDetailTypeCode":"String","BetType":{"BetTypeCode":"String","BetTypeDesc":"String","LBetSubTypes":[{"BetSubTypeCode":"String","BetTypeCode":"String","BetSubTypeDesc":"String","LegCount":0,"LineCount":0,"OddsLimit":0,"BetDetailTypeCode":"String","BetType":{"BetTypeCode":"String","BetTypeDesc":"String","LBetSubTypes":[{"BetSubTypeCode":"String","BetTypeCode":"String","BetSubTypeDesc":"String","LegCount":0,"LineCount":0,"OddsLimit":0,"BetDetailTypeCode":"String"}]}}]}}]}]}