TBS Apps API

<back to all web services

PendingBetsRequest

Requires Authentication
BettingHistoryResponse Parameters:
NameParameterData TypeRequiredDescription
ItemsformList<BettingHistoryItem>No
TotalCountformintNo
BettingHistoryItem Parameters:
NameParameterData TypeRequiredDescription
BetIdformlongNo
TicketNumberformstringNo
BetDateTimeUTCformDateTimeNo
LastModifiedDateTimeUTCformDateTime?No
BetDate_ServerformstringNo
BetTime_ServerformstringNo
AdvertisedStartDate_ServerformstringNo
AdvertisedStartTime_ServerformstringNo
EventTypeIcoformstringNo
EventTypeIdformintNo
CategoryNameformstringNo
MasterEventNameformstringNo
EventNameformstringNo
AdvertisedStartTimeUTCformDateTimeNo
BetDescriptionformstringNo
BetClassformstringNo
TotalStakeformdecimalNo
TotalPayoutformdecimalNo
TotalLinesformintNo
BetTypeCodeformstringNo
BetSubTypeCodeformstringNo
ChannelIdformintNo
ChannelformstringNo
ChannelIcoformstringNo
FreeBetIdformlongNo
SettledStateIdformintNo
SettledStateDescformstringNo
VenueformstringNo
CountryCodeformstringNo
DisplayEventNameformstringNo
RaceNumberformintNo
TransactionDate_DateformstringNo
TransactionDate_TimeformstringNo
DisplayStatusformstringNo
TimeToJumpSecondsformintNo
MarketTypeformstringNo
IsCashOutAvailableformboolNo
EventIdformintNo
OutcomeIdformint?No
OutcomeNameformstringNo
MasterEventIdformintNo
MasterCategoryIdformintNo
CategoryIdformintNo
MasterCategoryNameformstringNo
LegStatusesformIEnumerable<LegStatus>No
PromoUIDformstringNo
PromoTypeCodeformstringNo
PromoDisplayTitleformstringNo
PromoDisplayDescriptionformstringNo
TrackBetformboolNo
CanTrackBetformboolNo
IsLiveActivityActiveformboolNo
LegStatus Parameters:
NameParameterData TypeRequiredDescription
EventTypeIdformintNo
LegNumberformintNo
StatusformstringNo
BTOutcomeStatusformstringNo

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /json/reply/PendingBetsRequest HTTP/1.1 
Host: tstextweb20.np.bluebet.com.au 
Accept: application/json
Content-Type: application/json
Content-Length: length

{}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Items":[{"BetId":0,"TicketNumber":"String","BetDateTimeUTC":"0001-01-01T00:00:00.0000000Z","LastModifiedDateTimeUTC":"0001-01-01T00:00:00.0000000Z","BetDate_Server":"01 Jan 0001","BetTime_Server":"11:00:00 AEDT","AdvertisedStartDate_Server":"01 Jan 0001","AdvertisedStartTime_Server":"11:00","EventTypeIco":"icon-unknown","EventTypeId":0,"CategoryName":"String","MasterEventName":"String","EventName":"String","AdvertisedStartTimeUTC":"0001-01-01T00:00:00.0000000Z","BetDescription":"String","BetClass":"String","TotalStake":0,"TotalPayout":0,"TotalLines":0,"BetTypeCode":"String","BetSubTypeCode":"String","ChannelId":0,"Channel":"String","ChannelIco":"icon-unknown","FreeBetId":0,"SettledStateId":0,"SettledStateDesc":"String","Venue":"String","CountryCode":"String","DisplayEventName":"String","RaceNumber":0,"TransactionDate_Date":"01 Jan 0001","TransactionDate_Time":"11:00:00 AEDT","DisplayStatus":"String","TimeToJumpSeconds":-2147483648,"MarketType":"String","IsCashOutAvailable":false,"EventId":0,"OutcomeId":0,"OutcomeName":"String","MasterEventId":0,"MasterCategoryId":0,"CategoryId":0,"MasterCategoryName":"String","PromoUID":"String","PromoTypeCode":"String","PromoDisplayTitle":"String","PromoDisplayDescription":"String","TrackBet":false,"CanTrackBet":false,"IsLiveActivityActive":false}],"TotalCount":0}