Missing USA place markets

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Bascoe
    Member
    • Sep 2018
    • 42

    #1

    Missing USA place markets

    I am trying to retrieve USA WIN and place markets. The code below works for for AU and NZ but only returns WIN markets when I specify US

    I am using:

    marketFilter.MarketTypeCodes = New HashSet(Of String)
    marketFilter.MarketTypeCodes.Add("WIN")
    marketFilter.MarketTypeCodes.Add("PLACE")

    Here is the request

    Code:
    {"jsonrpc": "2.0", "method":"SportsAPING/v1.2/listMarketCatalogue","params": {"filter":{"eventTypeIds":["7"],"marketCountries":["US"],"marketTypeCodes":["WIN","PLACE"],"marketStartTime":{"from":"2019-11-26T09:03:00.0149086+11:00","to":"2019-11-27T05:03:00.4089101+11:00"}},"marketProjection":["RUNNER_METADATA","RUNNER_DESCRIPTION","EVENT","EVENT_TYPE","MARKET_START_TIME","MARKET_DESCRIPTION"],"sort":"FIRST_TO_START","maxResults":"199","locale":null}, "id": 1}
    What am I missing?
  • jabe
    Senior Member
    • Dec 2014
    • 705

    #2
    Baffling. Can't see anything wrong. I've tried your code and it does as you say. The Betfair site appears to allow place betting.

    Comment

    • WTPooh
      Member
      • May 2012
      • 88

      #3
      marketFilter.MarketTypeCodes.Add("OTHER_PLACE")

      Comment

      • Bascoe
        Member
        • Sep 2018
        • 42

        #4
        Originally posted by WTPooh View Post
        marketFilter.MarketTypeCodes.Add("OTHER_PLACE")
        Thanks for that - you would think and hope the doco would describe the available enums

        I'm right out of esp

        Comment

        • bfexplorer
          Senior Member
          • Sep 2018
          • 212

          #5
          This is not enumerate. Load available market types by: api method: listMarketTypes

          Comment

          Working...
          X