Hi
I'am using the sample code of API-NG for java and as the title says, i'am having trouble to get the account founds.
I can use the listEventTypes but not the getAccountFunds as it keeps returning the error {"jsonrpc":"2.0","error":{"code":-32601,"message":"DSC-0021"},"id":"1"}, that means that "The operation specified does not exist".
I used the base code from the sample and only added a new parameter to differentiate a request to the Account API from a Betting API and a if statement:

Now the debug part, for the listEventTypes:
-The Request

-The Response

For the getAccountFounds:
-The Request

-The Response

Can anyone point what i'am doing wrong?
Best Regards!
I'am using the sample code of API-NG for java and as the title says, i'am having trouble to get the account founds.
I can use the listEventTypes but not the getAccountFunds as it keeps returning the error {"jsonrpc":"2.0","error":{"code":-32601,"message":"DSC-0021"},"id":"1"}, that means that "The operation specified does not exist".
I used the base code from the sample and only added a new parameter to differentiate a request to the Account API from a Betting API and a if statement:

Now the debug part, for the listEventTypes:
-The Request

-The Response

For the getAccountFounds:
-The Request

-The Response

Can anyone point what i'am doing wrong?
Best Regards!


Comment