Important Update: Community URLs redirect issues are partially resolved. Learn More. .

cancel
Showing results for 
Search instead for 
Did you mean: 

api code to export report from archer

PrathameshYedav
Collaborator II

Could you please share API code(.net or powershell) to extract a report from Archer to an xml/json file and save that in a particular path?

3 REPLIES 3

Ilya_Khen
Champion III

Sergei Bakhaev provided the part of the code to extract report with paging: https://community.rsa.com/thread/197204

So, should not be hard then to use FileSystem to save file.

 

But, I think your use case is ideal situation for Transporter feed, no?

Hi Ilya,

Yes , have seen this thread but I am not able to figure out where the output xml file gets saved? Could you please help me on that?

I had asked the same question to Sergei too in the same thread.

 

Basically we would like to generate a JSON format of a report outside of archer.

Sergei's code produces the XML document, it does not save it explicitly. You need to save it by calling save method.