Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
05-30-2017 12:37 PM
Hi,
I'm trying to use the AppDynamics API (the one's visible on Swagger UI). The problem is, I know my Account Name, Username and Password, but I have no idea about the corresponding accountId. Is there a way I can possibly find out about this by passing my account information ?
Regards,
Devesh
05-31-2017 02:07 AM
There is no API to get the list of account with IDs, you can get account details only if you know the account ID. You can query the controller database to get the account IDs like below:
Get all the account with IDs:
select id as AccountID, name as AccountName from account;
Get specific account ID:
select id as AccountID, name as AccountName from account where name='<Account Name>';
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form