Is this a valid listMarketProfitAndLoss call?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JayBee
    Junior Member
    • Oct 2010
    • 114

    #1

    Is this a valid listMarketProfitAndLoss call?

    [{"jsonrpc": "2.0", "method": "SportsAPING/v1.0/listMarketProfitAndLoss","params": {"marketId": "1.112809424"}, "id": 1}]

    I keep getting this returned...

    [{"jsonrpc":"2.0","error":{"code":-32602,"message":"DSC-0018"},"id":1}]

    The visualiser should give a JSON output string so that we know how to code it. The API reference may as well be in Demotic Egyptian for all the good it is. At least, there should be an example for each operation.
  • ForeTwo
    Junior Member
    • Apr 2011
    • 15

    #2
    [{"jsonrpc": "2.0", "method": "SportsAPING/v1.0/listMarketProfitAndLoss", "params": {"marketIds":["1.112802253"]}, "id": 1}]

    Comment

    Working...
    X