I have a ListMarketBook query
This returns the expected string response:
Dim strRequest As String
strRequest = "{""jsonrpc"": ""2.0"", ""method"": ""SportsAPING/v1.0/listMarketBook"", ""params"":{""marketIds"":[""1.115258230""],""priceProjection"":{""priceData"":[""EX_BEST_OFFERS""]}}, ""id"": 1}"
But if I try to limit the depth of prices returned to 1 thus:
strRequest = "{""jsonrpc"": ""2.0"", ""method"": ""SportsAPING/v1.0/listMarketBook"", ""params"":{""marketIds"":[""1.115258230""],""priceProjection"":{""priceData"":[""EX_BEST_OFFERS""],""exBestOffersOverrides"":{""bestPricesDepth"":"" 1""}}, ""id"": 1}"
I get a Bad Request error. Can anyone see where I’m going wrong?
With regards
Mike
This returns the expected string response:
Dim strRequest As String
strRequest = "{""jsonrpc"": ""2.0"", ""method"": ""SportsAPING/v1.0/listMarketBook"", ""params"":{""marketIds"":[""1.115258230""],""priceProjection"":{""priceData"":[""EX_BEST_OFFERS""]}}, ""id"": 1}"
But if I try to limit the depth of prices returned to 1 thus:
strRequest = "{""jsonrpc"": ""2.0"", ""method"": ""SportsAPING/v1.0/listMarketBook"", ""params"":{""marketIds"":[""1.115258230""],""priceProjection"":{""priceData"":[""EX_BEST_OFFERS""],""exBestOffersOverrides"":{""bestPricesDepth"":"" 1""}}, ""id"": 1}"
I get a Bad Request error. Can anyone see where I’m going wrong?
With regards
Mike


Comment