Example – HP Intelligent Management Center Licenses User Manual

Page 353

Advertising
background image

Example

Query and list the 10th to the 20th history reports for the periodic report with ID 1.

Request

GET http://imc_host:8080/imcrs/imcrs/report/task/file/1?start=10&size=10
accept: application/xml
...

Response

HTTP/1.1 200 OK
Content-Type: application/xml
...
<list>
<reportTaskResultFile>
<taskId>1</taskId>
<fileName>20101222.pdf</fileName>
<file>http://localhost:8080/imcrs/report/task/download?taskId=1&fileName=20101222.pdf</file>
</reportTaskResultFile>
</list>

Query Periodic Report Histories 353

Advertising