Cancel Task

patch

/rest/v16/tasks/{taskId}

This endpoint cancels the specified task. This endpoint replaces the '/tasks/{taskId}/actions/cancel' endpoint, which was deprecated in Oracle CPQ 20B.

Request

Path Parameters
Body ()
Root Schema : Task Cancel Request Details
Type: object
Title: Task Cancel Request Details
Task Cancel Request Details
Show Source
Back to Top

Response

200 Response

The request was accepted.
Body ()
Root Schema : task
Type: object
Show Source
Nested Schema : category
Type: object
Show Source
Nested Schema : Detail Status
Type: object
Title: Detail Status
Detail Status for entities associated with this task
Show Source
Nested Schema : File list
Type: array
Title: File list
List of files associated with this task
Show Source
Nested Schema : Entities Statuses
Type: array
Title: Entities Statuses
Statuses for all the entities
Show Source
Nested Schema : Entity Status
Type: object
Title: Entity Status
Entity Status
Show Source
Nested Schema : Summary
Type: array
Title: Summary
Summary of message and type for entity
Show Source
Nested Schema : Summary Details
Type: object
Title: Summary Details
Summary Details
Show Source
Nested Schema : Messages
Type: array
Title: Messages
Messages
Show Source
Nested Schema : file
Type: object
Show Source

404 Response

The task doesn't exist or is not accessible for current user.

409 Response

The task cannot be cancelled. For example, a completed task cannot be cancelled.
Back to Top