HP 3PAR Web Service API 1.3.1 Developer's Guide

Table 108 Virtual Copy Promotion Error Codes (continued)
DescriptionHTTP CodeAPI Error
Invalid Input: Parameters
cannot be present at the
same time.
409 ConflictINV_OPERATION_PARAM_CONFLICT
Invalid operation: Volume is
currently busy.
409 ConflictINV_OPERATION_VV_IS_BUSY
(Since WSAPI 1.3)
Invalid operation: Volume
promotion is in progress.
409 ConflictINV_OPERATION_VV _PROMOTE_IN_PROGRESS
(Since WSAPI 1.3)
Invalid operation: Volume
promotion is not in progress.
409 ConflictINV_OPERATION_VV_PROMOTE_IS_NOT_IN_PROGRESS
(Since WSAPI 1.3.1 with HP
3PAR OS 3.1.3 MU1)
Creating a VV-Set Snapshot
To create a VV-set snapshot, use the HTTP POST in the following URI:
https://<storage_system>:8080/api/v1/volumesets/<volume_set_name>
where <volume_set_name> is the name of the VV set being copied (not the name of the new
VV-set snapshot). The message body is a JSON object with two members, action and
parameters. The action member must have the value createSnapshot, and the parameters
member is a JSON object with members as described in Table 102 (page 112)
NOTE: Any user with the Super or Edit role or any role granted the sv_create (for snapshots)
can create a VV-set snapshot.
VV-Set Snapshot Creation Success
Upon successful creation of the VV-set snapshot, the location portion of the response header contains
the URI for the newly created VV-set snapshot in the following format:
api/v1/volumesets/<volume_set_name>
The system returns the following HTTP status code:
HTTP_CREATED
VV-Set Snapshot Creation Errors
If an error occurs, the system returns one of the error codes shown in Table 68 (page 86), or a
general error code as shown in Table 109 (page 119).
Table 109 VV-Set Snapshot Creation Error Codes
DescriptionHTTP CodeAPI Error
Invalid volume pattern
specified.
400 Bad RequestINVALID_INPUT_VV_PATTERN
(Since WSAPI 1.3)
The set does not exist.404 Not FoundNON_EXISTENT_SET
(Since WSAPI 1.3)
The set is empty.404 Not FoundEMPTY_SET
(Since WSAPI 1.3)
Creating a VV-Set Snapshot 119