{"action":"created","issue":{"url":"https://api.github.com/repos/betfair/API-NG-sample-code/issues/25","repository_url":"https://api.github.com/repos/betfair/API-NG-sample-code","labels_url":"https://api.github.com/repos/betfair/API-NG-sample-code/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/betfair/API-NG-sample-code/issues/25/comments","events_url":"https://api.github.com/repos/betfair/API-NG-sample-code/issues/25/events","html_url":"https://github.com/betfair/API-NG-sample-code/issues/25","id":172290098,"number":25,"title":"Unable to get Market Information of each Race.","user":{"login":"abdulbarik","id":7368930,"avatar_url":"https://avatars.githubusercontent.com/u/7368930?v=3","gravatar_id":"","url":"https://api.github.com/users/abdulbarik","html_url":"https://github.com/abdulbarik","followers_url":"https://api.github.com/users/abdulbarik/followers","following_url":"https://api.github.com/users/abdulbarik/following{/other_user}","gists_url":"https://api.github.com/users/abdulbarik/gists{/gist_id}","starred_url":"https://api.github.com/users/abdulbarik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abdulbarik/subscriptions","organizations_url":"https://api.github.com/users/abdulbarik/orgs","repos_url":"https://api.github.com/users/abdulbarik/repos","events_url":"https://api.github.com/users/abdulbarik/events{/privacy}","received_events_url":"https://api.github.com/users/abdulbarik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-20T20:49:04Z","updated_at":"2016-08-20T21:00:27Z","closed_at":null,"body":"I am using REST API to get market info of each Race.\r\nI have \"marketID\" \"WIN\" also have all the details of each race, I didn't get any proper call to get market info of each race.\r\nI have tried with end point \"listMarketCatalogue\" and \"listMarketBook\" but didn't get any luck."},"comment":{"url":"https://api.github.com/repos/betfair/API-NG-sample-code/issues/comments/241223431","html_url":"https://github.com/betfair/API-NG-sample-code/issues/25#issuecomment-241223431","issue_url":"https://api.github.com/repos/betfair/API-NG-sample-code/issues/25","id":241223431,"user":{"login":"mgwalm","id":6946842,"avatar_url":"https://avatars.githubusercontent.com/u/6946842?v=3","gravatar_id":"","url":"https://api.github.com/users/mgwalm","html_url":"https://github.com/mgwalm","followers_url":"https://api.github.com/users/mgwalm/followers","following_url":"https://api.github.com/users/mgwalm/following{/other_user}","gists_url":"https://api.github.com/users/mgwalm/gists{/gist_id}","starred_url":"https://api.github.com/users/mgwalm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgwalm/subscriptions","organizations_url":"https://api.github.com/users/mgwalm/orgs","repos_url":"https://api.github.com/users/mgwalm/repos","events_url":"https://api.github.com/users/mgwalm/events{/privacy}","received_events_url":"https://api.github.com/users/mgwalm/received_events","type":"User","site_admin":false},"created_at":"2016-08-20T21:00:27Z","updated_at":"2016-08-20T21:00:27Z","body":"An example of listMarketBook\r\n`      // get the market book\r\n      var ids = new List<string>\r\n                  {\r\n                    MarketCatalogue?.MarketId\r\n                  };\r\n      var priceProj = new PriceProjection\r\n                        {\r\n                          Virtualise = true, //??\r\n                          PriceData = new HashSet<PriceData>()\r\n                        };\r\n      priceProj.PriceData.Add(PriceData.EX_BEST_OFFERS);\r\n\r\n      try\r\n      {\r\n        StatusMessage = $\"Refreshing {MarketCatalogue?.FullDescription}...\";\r\n        _cancellationTokenSource = new CancellationTokenSource();\r\n\r\n        var books = await JsonRpcClient.Instance.ListMarketBook(ids, priceProj, OrderProjection.EXECUTABLE, MatchProjection.ROLLED_UP_BY_AVG_PRICE, _cancellationTokenSource);\r\n        if (books.Count > 0)\r\n        {\r\n          MarketBook = books[0];\r\n\r\n          Runners = new ObservableCollection<Runner>(MarketBook.Runners);\r\n`"}}
{"actor":{"display_login":"mgwalm"}}