getAccountFunds not working today

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • khughes
    Junior Member
    • Aug 2009
    • 36

    #1

    getAccountFunds not working today

    Hi,
    Has something changed with getAccountFunds between yesterday and today? I have not changed my program but today calls to getAccountFunds are returning the error DSC-0018 which is a mandatory parameter has not been defined. There are no parameters listed in the documentation for this function however.

    My JSon request string is:

    {"method":"AccountAPING/v1.0/getAccountFunds","id":"1","jsonrpc":"2.0"}

    Thanks for any help on this as it is breaking one of my trading strategies which needs to know the account balance before placing a bet.
    Regards
    Kevin
  • BetfairDeveloperProgram
    Administrator
    • Oct 2008
    • 680

    #2
    Hi Kevin,

    We are currently in the process of rectifying this issue.

    The issue is being caused by a defect which causes an error if '"params": {},' is not explicitly passed in the getAccountFunds request e.g.

    [{"jsonrpc": "2.0", "method": "AccountAPING/v1.0/getAccountFunds", "params": {}, "id": 1}]

    Please accept our apologies for the inconvenience caused.

    Kind Regards

    Neil

    Comment

    • khughes
      Junior Member
      • Aug 2009
      • 36

      #3
      Originally posted by Betfair Developers Program View Post
      Hi Kevin,

      We are currently in the process of rectifying this issue.

      The issue is being caused by a defect which causes an error if '"params": {},' is not explicitly passed in the getAccountFunds request e.g.

      [{"jsonrpc": "2.0", "method": "AccountAPING/v1.0/getAccountFunds", "params": {}, "id": 1}]

      Please accept our apologies for the inconvenience caused.

      Kind Regards

      Neil
      Ok. Thanks for the quick reply Neil.

      Comment

      Working...
      X