Query periodic reports, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual

Page 348: Returned result, Interface uri access method returned result

Advertising
background image

Query Periodic Reports

Query periodic reports with certain criteria.

Interface URI

/report/task

Access Method

HTTP

GET

Parameters

Query parameters

Periodic report name.

TaskName

String type, supporting wildcard characters. Optional. No default value.

Report template name.

TemplateName

String type, supporting wildcard characters. Optional. No default value.

Periodic report type.

TaskType

Integer type. The default value is 1. Valid values include 1 (all), 2 (daily report), 3 (weekly report),
4 (monthly report), 5 (quarterly report), 6 (half-yearly report), and 7 (yearly report).

Returned Result

Status codes

200 (OK): Success.

Message body

<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>
<files>http://localhost:8080/imcrs/report/task/file/1</files>
<link href="http://localhost:8080/imcrs/report/task/detail/1" op="GET" rel="self"/>
</reportTask>
</list>

Elements

reportTask sub-elements

Periodic report ID, which uniquely identifies a periodic report.

id

Long integer type.

Periodic report name.

name

String type.

Next execution time.

nextExecuteTime

Date and time type.

Template ID.

templateId

348 Report Management

Advertising