HP 3PAR Web Service API 1.3.1 Developer's Guide

Table 129 taskAction Enumeration for Canceling a Task
DescriptionValueSymbol
Cancels the ongoing task.1CANCEL_TASK
(Since WSAPI 1.3.1 with HP 3PAR OS
3.1.3 MU1)
Task Cancellation Success
Upon a successful request to cancel a task, the HTTP code 200 OK is returned.
Task Cancellation Errors
Possible error codes following a request to cancel a task are shown in Table 130 (page 134). For
generic API error codes, see Table 5 (page 22).
Table 130 Task Cancellation Error Codes
DescriptionHTTP CodeAPI Error
The task is not active at this time.400 Bad RequestNON_ACTIVE_TASK
(Since WSAPI 1.3.1 with HP 3PAR OS
3.1.3 MU1)
Invalid operation: Task cannot be
canceled.
409 ConflictINV_OPERATION_CANNOT_CANCEL_TASK
(Since WSAPI 1.3.1 with HP 3PAR OS
3.1.3 MU1)
134 Working with System, Version, and Task Information