Announcement

Collapse
No announcement yet.

listCurrentOrders

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • listCurrentOrders

    Once again I’ve struck a brick was with JSON.

    I’m trying to get a list of all my current bets.

    I’m calling listCurrentOrders and every attempt I make results in “Bad Request”

    I've tried numerous request strings and all I get is HTTP/1.1 400 Bad Request. So frustrating.

    Can anyone show me a JSON string that will retrieve all current orders, perhaps for a specific market?

  • #2
    JSON request for listCurrentOrders:

    Code:
    {"jsonrpc":"2.0","method":"SportsAPING/v1.0/listCurrentOrders","params":{"marketIds":["1.116451712"],"fromRecord":0,"recordCount":0},"id":1}

    Comment


    • #3
      Originally posted by betdynamics View Post
      JSON request for listCurrentOrders:

      Code:
      {"jsonrpc":"2.0","method":"SportsAPING/v1.0/listCurrentOrders","params":{"marketIds":["1.116451712"],"fromRecord":0,"recordCount":0},"id":1}
      Thanks betDynamics

      I wasn't using the From and count values it seems.

      Kind Regards
      OzPunter

      Comment


      • #4
        I'm having a hard time at this part, just like you. spin the wheel

        Comment

        Working...
        X