Example, Request, Response – HP Intelligent Management Center Licenses User Manual

Page 349

Advertising
background image

reportTask sub-elements

Long integer type.

Report template name.

templateName

String type.

URI of the report file list.

files

String type.

Example

Query and list all periodic reports.

Request

GET http:/imc_host:8080/imcrs//report/task
accept: application/xml
...

Response

HTTP/1.1 200 OK
Content-Type: application/xml
...
<list>
<reportTask>
<id>1</id>
<name>Change report</name>
<nextExecuteTime>2011-08-20T04:00:00+08:00</nextExecuteTime>
<templateId>29</templateId>
<templateName>Change report</templateName>
<link href="http://localhost:8080/imcrs/report/task/detail/1" op="GET" rel="self"/>
<files>http://localhost:8080/imcrs/report/task/file/1</files>
</reportTask>
</list>

Query Periodic Reports 349

Advertising