Visualiser - Invalid Input Data

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • leemajors
    Junior Member
    • Apr 2009
    • 4

    #1

    Visualiser - Invalid Input Data

    Not quite sure were I'm going wrong and hoping someone might be able to help (please).

    Attempting to retrieve market details via ListMarketCatalogue. Sometimes it works, sometimes it doesn't. When I use the visualiser doing the query manually it works and provides exactly what I'm after. When I look at the text query the visualiser used it's exactly the same as mine.

    e.g. Sunshine Coast tonight. I tried {"jsonrpc": "2.0", "method": "SportsAPING/v1.0/listMarketCatalogue", "params": {"filter":{"eventIds":["27265501"],"marketTypeCodes":["WIN"]},"maxResults":"100","marketProjection":["COMPETITION","EVENT"]}, "id": 1}, which doesn't work, however that is exactly what the visualiser uses.

    Any explanation, or idea as to where I'm going wrong?
  • betdynamics
    Junior Member
    • Sep 2010
    • 534

    #2
    Try changing "maxResults":"100" to "maxResults":100 (i.e. no quotes round the number)

    Comment

    Working...
    X