Example, Element description, Request – HP Intelligent Management Center Licenses User Manual
Page 176: Response
Element description
sqlResult sub-elements and attributes
Total records.
@total
Long integer type.
Result records.
record
Element type.
Field type.
record/@type
String type. The value can only be string.
Field value.
record/value
String type.
Example
Query the component iMC-NME-FAULT and SQL statement SELECT * FROM tbl_trap_conf in the
database.
Request
GET http://localhost:8080/imcrs/sql?componentId=iMC-NME-FAULT&sql=SELECT * FROM tbl_trap_conf
accept: application/xml
...
Response
HTTP/1.1 200 OK
Content-Type: application/xml
...
...
176
Network Resource Management