HP 3PAR Web Service API 1.3.1 Developer's Guide

Table 141 Message Body JSON Object Members for QoS Rule Creation (continued)
DescriptionIgnored ValuesAPI TypeJSON TypeMember
value. Default is
False.
Since WSAPI 1.3
If True, enable the
QoS rule for the target
object.
Booleanenable
If False, disable the
QoS rule for the target
object.
Since WSAPI 1.3
Enumeration for the ZeroNoneOperation JSON object is shown in Table 142 (page 142).
Table 142 ZeroNoneOperation Enumeration for QoS Rule Creation or Modification
DescriptionValueSymbol
The minimum goal or maximum limit is
set to zero.
1ZERO
Since WSAPI 1.3
The minimum goal or maximum limit is
set to none (NoLimit).
2NOLIMIT
Since WSAPI 1.3
QoS Rule Creation Success
Upon successful creation of a QoS rule, the HTTP code 201 Created is returned, with no message
body.
QoS Rule Creation and Modification Errors
Possible error codes for QoS rule creation and modification are shown in Table 143 (page 142).
For generic API error codes, see Table 5 (page 22).
Table 143 QoS Rule Creation and Modification Error Codes
DescriptionHTTP CodeAPI Code
Invalid input: number exceeds
expected range.
400 Bad RequestINV_INPUT_EXCEEDS_RANGE
Since WSAPI 1.3
QoS rule does not exist.404 Not FoundNON_EXISTENT_QOS_RULE
Since WSAPI 1.3
Illegal character in the input.400 Bad RequestINV_INPUT_ILLEGAL_CHAR
QoS rule already exists.400 Bad RequestEXISTENT_QOS_RULE
Since WSAPI 1.3
The I/O-per-second maximum
limit should be greater than the
minimum goal.
400 Bad RequestINV_INPUT_IO_MIN_GOAL_GRT_MAX_LIMIT
Since WSAPI 1.3
142 WSAPI Support for HP 3PAR Priority Optimization