listMarketCatalogue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • RobbieRotten
    Junior Member
    • May 2015
    • 5

    #1

    listMarketCatalogue

    Hi,

    Heres my request
    Code:
    {"jsonrpc":"2.0","method":"SportsAPING/v1.0/listMarketCatalogue","params":{"filter":{"textQuery":"Middlesbrough v Norwich","exchangeIds":null,"eventTypeIds":["4"],"marketIds":null,"inPlayOnly":null,"eventIds":null,"competitionIds":null,"venues":null,"bspOnly":null,"turnInPlayEnabled":null,"marketBettingTypes":null,"marketCountries":null,"marketTypeCodes":["CORRECT_SCORE","MATCH_ODDS"],"marketStartTime":null,"withOrders":null},"maxResults":9,"sort":"FIRST_TO_START","locale":"en_GB","marketProjection":"[EVENT, MARKET_START_TIME, RUNNER_DESCRIPTION]"},"id":1}
    And heres the response
    Code:
    {"jsonrpc":"2.0","error":{"code":-32602,"message":"DSC-0018"},"id":1}
    I've tried not sending with the nulls; same response. From what I can see in the API guide I am including all fields so what have I missed?
  • RobbieRotten
    Junior Member
    • May 2015
    • 5

    #2
    Silly me. Got my marketProjection quotes all wrong!

    Comment

    Working...
    X