Query link information, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual

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

Advertising
background image

Query Link Information

Query device link information based on topology and link ID.

Interface URI

/plat/res/link/{id}

Access Method

HTTP

GET

Path parameter

Path parameter

Link ID.

id

Long integer type. Required. No default value.

Query parameter

Query parameter

Topology ID, or view ID. To obtain it, query the view list.

topoId

Long integer type. Required. No default value.

Returned Result

Status codes

200 (OK): Success.

Message header

HTTP/1.1 200 OK
Content-Type: application/xml

Message body

<deviceLink>
<id>556</id>
<type>0</type>
<leftSymbolId>1920</leftSymbolId>
<leftIfDesc>GigabitEthernet4/0/19</leftIfDesc>
<rightSymbolId>1918</rightSymbolId>
<rightIfDesc>Ethernet0/1</rightIfDesc>
<status>1</status>
<bandWidth>100000000</bandWidth>
<leftDevice>http://localhost:8080/imcrs/plat/res/device/403</leftDevice>
<rightDevice>http://localhost:8080/imcrs/plat/res/device/400</rightDevice>
</deviceLink>

Element description

deviceLink sub-elements

Device link ID.

id

120 Network Resource Management

Advertising