Query alarming enterprises, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual

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

Advertising
background image

Query Alarming Enterprises

Query and list alarming enterprises.

Interface URI

/fault/trapEnterprise

Access Method

HTTP

GET

Parameters

Query parameters

Only the number of records that meet the requirements is returned.

total

Boolean type. Optional. The default value is false. When the value is true, the returned message
body is empty, and the Total attribute of the message header returns the number of records that meet
the requirements.

Returned Result

Status codes

200 (OK): Success.

Message header

When the total parameter takes true, the Total attribute returns the total number of records that
meet the requirements. The message body is empty.

HTTP/1.1 200 OK
Total: 495

Message body

<list>
<trapEnterprise>
<enterpriseId>1.3.6.1.4.1.43</enterpriseId>
<enterpriseName>3Com</enterpriseName>
<trapEvents>http://imc_host:port/imcrs/fault/trapEvent?trapEnterpriseId=1.3.6.1.4.1.43</trapEvents>
</trapEnterprise>
...
</list>

Elements

trapEnterprise sub-elements

Enterprise ID, which uniquely identifies an enterprise.

enterpriseId

String type.

Enterprise name.

enterpriseName

String type.

Link to the current alarm events.

trapEvents

URI type.

Query Alarming Enterprises 293

Advertising