Splunk AppDynamics

Accounts API

CommunityUser
Splunk Employee
Splunk Employee

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

Labels (3)
Tags (2)
0 Karma

Ravi_Biradar
Explorer

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>';

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Classic British Rock Bands

This puzzle series (first published here) is based on extracting information from statements about well-known ...

New to the Community? Join Us for an Exclusive Post .conf26 Welcome Session (Plus a ...

Keep the .conf26 Energy Going: Welcome to the Splunk Community! Whether we scanned your badge at the Community ...

Accelerate Splunk App Development with AI

  Learn how to automate the repetitive parts of your build cycle.   Register to Attend   Join our Tech Talk ...