i've been following the guide here to try and download a report. i'm able to get the filepath response for the report linke in the post usage example, but i'm unsure what to do then. i assume this is the reports location on the file system of the ome server, but i don't have file system access, which is why i'm using the api to try and download a report. what do i do with the filepath response to get to the file?
I'm not very verse with OME REST API, but I'll try to help out.
Are you referring to the last bit of the command: 2.3.6 /api/ReportService/Actions/ReportService.DownloadReport
Have you define your local machine file path? Try to do the output to the filepath to your local machine, for eg: "C:/log/dell/omc/reports/Alert Counts per Device Report.csv"
DELL-Joey C
Social Media and Communities Professional
Dell Technologies | Enterprise Support Services
#IWork4Dell
Did I answer your query? Please click on ‘Mark as Accepted Answer’ if I did.
correct. that is the part of the api i'm referring to.
when i send a post with the report id, and file format in the body to https://omeserver/api/ReportService/Actions/ReportService.DownloadReport the filepath is the response i get from the ome server. i'm just unsure what to do with the response. does that file path refer to a url where i can download the file?
Would you be able to provide me the commands that you ran and the output screenshot that you have obtained. If it contains private information, do PM me.
DELL-Joey C
Social Media and Communities Professional
Dell Technologies | Enterprise Support Services
#IWork4Dell
Did I answer your query? Please click on ‘Mark as Accepted Answer’ if I did.
DELL-Joey C
Moderator
•
4170 Posts
•
20965 Points
1359
0
Posted February 12th, 2020 22:00
Hi,
I'm not very verse with OME REST API, but I'll try to help out.
Are you referring to the last bit of the command: 2.3.6 /api/ReportService/Actions/ReportService.DownloadReport
Have you define your local machine file path? Try to do the output to the filepath to your local machine, for eg: "C:/log/dell/omc/reports/Alert Counts per Device Report.csv"
DELL-Joey C
Social Media and Communities Professional
Dell Technologies | Enterprise Support Services
#IWork4Dell
Did I answer your query? Please click on ‘Mark as Accepted Answer’ if I did.