Example, Message body, Element description – HP Intelligent Management Center Licenses User Manual

Page 157: Request, Response

Advertising
background image

Message body

<list>
<ipView>
<symbolId>1041</symbolId>
<name>10.153.0.0/24</name>
<runStatus>5</runStatus>
<statusImgSrc>/res/images/subnet-critical.gif</statusImgSrc>
<statusDesc>Warning</statusDesc>
</ipView>
...
</list>

Element description

ipView sub-elements

IP view symbol ID.

symbolId

Long integer type.

IP view name.

name

String type.

Operation status.

runStatus

Integer type.

Running picture.

statusImgSrc

String type.

Operation status description.

statusDesc

String type.

Example

Query IP views.

Request

GET http://imc_host:8080/imcrs/plat/res/view/ip
accept: application/xml
...

Response

HTTP/1.1 200 OK
Content-Type: application/xml
...
<list>
<ipView>
<symbolId>1041</symbolId>
<name>10.153.0.0/24</name>
<runStatus>5</runStatus>
<statusImgSrc>/res/images/subnet-critical.gif</statusImgSrc>
<statusDesc>Warning</statusDesc>
</ipView>
...
</list>

Query IP Views

157

Advertising