HP 3PAR Web Service API 1.3.1 Developer's Guide

property syntax is used to define the components of the query
string. The subproperties of a complex property are accessed
by using brackets ([ ]) to enclose the expressions related to
the complex property. Only the OR operator is supported.
For example:
http://<server>/api/v1/hosts?query=iSCSIPaths
[name==value1 OR name==value2 OR
keyN==valueN] OR FCPaths [wwn==value1 OR
wwn==value2 OR wwn==valueN]
For VV objects Volume collections can be filtered only through the wwn
attribute:
http://<server>/api/v1/volumes?query=wwn==value1
OR wwn==value2 OR wwn==valueN
For port device objects Port device collections can be filtered only through the
portPos attribute:
http://<server>/api/v1/portdevices?query=portPos==value1
OR portPos==value2 OR portPos==valueN
For FC switch objects FC switch collections can be filtered only through the
portPos attribute:
http://<server>/api/v1/fcswitches?query=portPos==value1
OR portPos==value2 OR portPos==valueN
JSON Character Encoding
Supported JSON character encoding includes the following formats:
ASCII
ISO-8859-1
US-ASCII
UTF-8
UTF-16
UTF-32
UTF-16BE
UTF-32BE
UTF-16LE
UTF-32LE
HTTP Status and Error Codes
When an operation is successful, the system returns one of the following HTTP status codes:
200 OK
201 Created
When an operation fails, one of several HTTP status codes is returned. Also, the message body
contains a JSON object with information specific to the HP 3PAR WSAPI.
The JSON object contains the members code, desc, and, when relevant, ref. The code member
is a number and the rest are strings.
The JSON object contains the following members:
Protocol and Message Format 21