Get history file of a periodic report, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual

Page 354: Returned result, Example

Advertising
background image

Get History File of a Periodic Report

Get the history file of a periodic report with the specified file name and report ID.

Interface URI

/report/task/download

Access Method

HTTP

GET

Parameters

Query parameters

Periodic report ID.

taskId

Long integer type.

History file name.

fileName

String type.

Returned Result

Status codes

200 (OK): Success.

Message body

The browser displays the download file dialog box or directly opens the file.

Example

Get the history file named 20100223.pdf for periodic report with ID 1.

Request

GET http://imc_host:8080/imcrs/report/task/download?taskId=1&filename=20101223.pdf
accept: application/pdf,application/msexcel,text/comma-separated-values
...

Response

The browser displays the download file dialog box or directly opens the file.

354 Report Management

Advertising