[{"label":"Latest (2.0.1)","version":"latest"}]
telco-cloud-service-assurance

Patch Task

Description

This API enables user to update the existing task.

Request

Request

URL

URL


patch
https://{api_host}tcsa.host.com/tcsa/api/v1/tasks/{id}
Copy

Path Parameters

Path Parameters

string
id Required

The id of task.


Request Body

Request Body

TaskPatchRequest of mimetype application/json Required

Request to update task.

{
    "action": "ACKNOWLEDGE",
    "details": "Performing ack operation",
    "status": "IN_PROGRESS"
}
string
action Optional

The name of the action e.g. ADD_USER, ACKNOWLEDGE or REMEDIATION.


string
details Optional

The details of performing action.


number
end_time Optional

The end time of task in epoch millis.


array of object
entities Optional

string
status Optional

The current status of task.

Possible values are: IN_PROGRESSCOMPLETEDFAILED

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

204 No Content

No content

Errors

Errors

400

Invalid Request sent by the user


401

User authentication failed


403

Access to the requested resource/operation is forbidden


404

Cannot find requested resource


500

Internal server error

Code Samples

Code Samples

cURL Command

curl -X PATCH -H "Content-Type: application/json" -d '{"action":"ACKNOWLEDGE","details":"Performing ack operation","status":"IN_PROGRESS"}' https://{api_host}tcsa.host.com/tcsa/api/v1/tasks/{id}


[{"label":"Latest (2.0.1)","version":"latest"}]
telco-cloud-service-assurance
Feedback

Was this page helpful?