Query custom view list, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual

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

Advertising
background image

Query Custom View List

Query custom view list.

Interface URI

/plat/res/view/custom

Access Method

HTTP

GET

Parameters

Query parameter

Filter resources by access right.

resPrivilegeFilter

Boolean type. Optional. The default value is false.

Sort records in descending order.

desc

Boolean type. Optional. The default value is false. Interface index is used to sort interfaces by default.

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.

View name.

name

String type. Optional. No default value.

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: 1

Message body

<list>
<customView>
<symbolId>11</symbolId>
<name>My network topology</name>
<runStatus>4</runStatus>
<statusImgSrc>/res/images/group-major.gif</statusImgSrc>
<statusDesc>Important</statusDesc>
</customView> ...
</list>

138

Network Resource Management

Advertising