Thanks Tony
Can I just ask are you in the UK or AUS ? My assumption is that UK. I am in Aus and I cannot get the Betting visualizer to even work ? I am wondering if other Aussies have this problem. Hmmm may post the question.
Anyway I tried just calling listCurrentOrders with no args as shown below but I get nothing
The URI I am calling is https://api-au.betfair.com/exchange/...v1/json-rpc/v1 Can you tell me what you are using ? Maybe is a JSON v JSON RPC difference.
Hey does Betfair have classes for listCurrentOrders and listClearedOrders similar to what they provided for the VB net APING example ??
What class/datatype/variable do you use to get the response? I created several classes based on the betfair data and have posted above - maybe this is why I am having errors. I have the following code in my VB NET JsonRpcClient.vb module.
Can I just ask are you in the UK or AUS ? My assumption is that UK. I am in Aus and I cannot get the Betting visualizer to even work ? I am wondering if other Aussies have this problem. Hmmm may post the question.
Anyway I tried just calling listCurrentOrders with no args as shown below but I get nothing

Code:
Calling: SportsAPING/v1.0/listCurrentOrders With args: {}
Got Response: {"jsonrpc":"2.0","result":{"moreAvailable":false},"id":1}
Hey does Betfair have classes for listCurrentOrders and listClearedOrders similar to what they provided for the VB net APING example ??
What class/datatype/variable do you use to get the response? I created several classes based on the betfair data and have posted above - maybe this is why I am having errors. I have the following code in my VB NET JsonRpcClient.vb module.
Code:
Public Function listCurrentOrders(ByVal betIds As IList(Of String), ByVal marketIds As IList(Of String), ByVal OrderProjection? As OrderProjection, ByVal placedDateRange As TimeRange, ByVal dateRange As TimeRange, ByVal OrderBy As OrderBy, ByVal SortDir As SortDir, ByVal intfromRecord As Integer, ByVal intrecordCount As Integer) As CurrentOrderSummaryReport Implements IClient.listCurrentOrders
Dim args = New Dictionary(Of String, Object)()
args(BET_IDS) = betIds 'BET_IDS is defined as "betIds
args(MARKET_IDS) = marketIds 'MARKET_IDS is defined as "marketIds"
args(ORDER_PROJECTION) = OrderProjection
Return Invoke(Of CurrentOrderSummaryReport)(LIST_CURRENT_ORDERS, args)
End Function




Comment