Query service monitoring information list, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual

Page 110: Returned result, Interface uri access method

Advertising
background image

Query Service Monitoring Information List

Query device service monitoring information based on predefined criteria.

Interface URI

/plat/res/device/service

Access Method

HTTP

GET

Parameters

Query parameter

Device ID.

deviceId

Long integer type. Required. No default value.

Only records that match the sort criteria are returned.

total

Boolean type. Optional. The default value is false. When the value is true, the start and size attributes
are invalid, the returned message body is empty, and the Message Header field gives the records
that match the sort criteria.

Returned Result

Status codes

200 (OK): Success.

Message header

If the total parameter is true, the Total field gives all the records that match the sort criteria. The
message body is empty.

HTTP/1.1 200 OK
Total: 3

Message body

<list>
<deviceService>
<deviceId>10</deviceId>
<serviceBit>0</serviceBit>
<name>Telnet</name>
<port>23</port>
<type>1</type>
<status>1</status>
</deviceService>
...
</list>

110

Network Resource Management

Advertising