Returned result, Example, Returned result example – HP Intelligent Management Center Licenses User Manual
Page 56
Query parameter
Boolean type. Optional. The default value is false. It is valid only when the orderBy parameter
is specified.
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.
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. No
message body is included.
HTTP/1.1 200 OK
Total: 150
Message body
HTTP/1.1 200 OK
Total: 150
For the description on each field of the returned value, see the API document for Query Device
Information.
Example
Query the 10th to the 20th pieces of information about devices whose IP address starts from
192.168.0.
Request
GET jttp://imc_host:8080/imcrs/plat/res/device?ip=192.168.0. *&start=10&size=10accept: application/xml
. . .
Response
HTTP/1.1 200 OK
Content-Type: application/xml
. . .
. . .
56
Network Resource Management