HP 3PAR Web Service API 1.3.1 Developer's Guide

Host-Set or VV-Set Removal Errors
If an error occurs, the system returns one of the error codes shown in Table 71 (page 89), or a
general error code as shown in Table 5 (page 22).
A glob-style pattern is not supported when removing hosts or volumes from sets. If you attempt to
remove hosts or volumes from sets by using a glob-style pattern, the INV_INPUT_ILLEGAL_CHAR
error code (400 Bad Request) will be returned.
Table 71 Host-Set or VV-Set Removal Error Codes
DescriptionHTTP CodeAPI Error
The set does not exists.404 Not FoundNON_EXISTENT_SET
(Since WSAPI 1.3)
The host set has exported VLUNs.409 ConflictEXPORTED_VLUN
The VV set was exported.
(Since WSAPI 1.3)
The VV set is a target of a QoS rule.409 ConflictVVSET_QOS_TARGET
(Since WSAPI 1.3)
Querying All Host Sets or All VV Sets
To query information about all host sets, use the HTTP GET method on the following URI, without
a message body:
https://<storage_system>:8080//api/v1/hostsets
To query information about all VV sets, use the HTTP GET method on the following URI, without a
message body:
https://<storage_system>:8080//api/v1/volumesets
All-Host-Sets or All-VV-Sets Query Success
Unless an error occurs, the response is a message body with members as shown in Table 72 (page
89).
Table 72 Message Body for All-Host-Set or All-VV-Set Query Response
DescriptionAPI TypeJSON TypeMember
Number of set objects
returned.
int32numbertotal
Set properties.array of SetObjectProperty
objects
array of objectsmembers
The members object is a JSON array of zero or more JSON objects, one array for each set on
the system. See Table 73 (page 89).
Table 73 The members Object of the SetObjectProperty JSON Array for Host-Set or VV-Set
Query Response
DescriptionAPI TypeJSON TypeMember
Name of the set.Name27stringname
Set identifier.int32numberid
Set domain.name31stringdomain
Querying All Host Sets or All VV Sets 89