Controller (SaaS, On Premise)

cancel
Showing results for 
Search instead for 
Did you mean: 

Appdynamics API - Retrieve Transaction Snapshots - Unsupported URI is specified

New Poster

Appdynamics API - Retrieve Transaction Snapshots - Unsupported URI is specified

I am trying to use the Appdynamics API (Retrieve Transaction Snapshot), however I am getting below error - 'duration-in-mins' is not recognised as an internal or external command,operable program or batch file.

 

I am using CURL to fetch the data. Below is the command - 

 

curl -v --user user1@customer1:secret http://demo.appdynamics.com/controller/rest/applications/11/request-snapshots?time-range-type=BEFORE_NOW\&duration-in-mins=15

The error message is - 

 

Output.png

Please let me know how to fix it?

Tags (3)
Appdynamics API - Retrieve Transaction Snapshots - Unsupported URI is specified
2 REPLIES 2
Employee

Re: Appdynamics API - Retrieve Transaction Snapshots - Unsupported URI is specified

It may be due to backslash.Can you remove backslash and try again "time-range-type=BEFORE_NOW\&duration-in-mins=15".

Thanks

 



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
New Poster

Re: Appdynamics API - Retrieve Transaction Snapshots - Unsupported URI is specified

The same call works from Linux machine or even from Python request call. i guess the original issue was related to CMD, however I am not sure.