listMarketCatalogue with closed markets

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mr Magoo
    Junior Member
    • Jan 2011
    • 86

    #1

    listMarketCatalogue with closed markets

    listMarketCatalogue doesn't seem to return any data when you call it with a market that has closed, e.g.

    Code:
    {
       "id" : "1234",
       "params" : {
          "marketProjection" : [
             "COMPETITION",
             "EVENT",
             "EVENT_TYPE",
             "MARKET_START_TIME",
             "MARKET_DESCRIPTION",
             "RUNNER_DESCRIPTION",
             "RUNNER_METADATA"
          ],
          "filter" : {
             "marketIds" : [
                "1.116114741"
             ]
          },
          "maxResults" : 2
       },
       "jsonrpc" : "2.0",
       "method" : "SportsAPING/v1.0/listMarketCatalogue"
    }
    returns

    Code:
    {
       "jsonrpc" : "2.0",
       "result" : [],
       "id" : "1234"
    }
    The old API, and even the website, still manage to return a market name. The new API pretends that the market didn't even exist.

    Why can't the new API return the market data, even if it is just the market name together with a flag to show that it is closed?
Working...
X