listMarketPrices issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alan7893
    Junior Member
    • Sep 2018
    • 1

    #1

    listMarketPrices issue

    Hi,

    When I attempt to retrieve listMarketPrices, I'm passing the following data:

    {"listMarketPricesRequestParams":{"marketFilter ":{ "marketIds":["927.23770381"]}}}

    I receive the following error: {"faultcode":"Client","faultstring":"DSC-0018","detail":{}}

    I can't figure out why. The error code seems to suggest I'm missing some mandatory data. In this example the event is the English Premier League:

    {"event":{"id":"2022802","name":"English Premier League","countryCode":"GB","timezone":"Europe/London","openDate":"2018-08-20T18:00:00.000Z","competitionId":"10932509"}

    The market is the outright winner:

    {"marketId":"927.23770381","marketName":"Winner 2018/19","marketStartTime":"2019-05-13T18:00:00.000Z"}

    Does anyone have an idea as to what the issue may be?

    Cheers
  • BetfairDeveloperProgram
    Administrator
    • Oct 2008
    • 679

    #2
    Hi alan7893

    The following request should work:

    {"listMarketPricesRequestParams":{"marketIds":["927.23770381"]}}

    Have you checked the example in the Sportbook API documentation?

    Thanks

    Neil

    Comment

    Working...
    X