[{"label":"Latest (2.0.1)","version":"latest"}]
telco-cloud-service-assurance
Patch Task
DescriptionThis API enables user to update the existing task.
Request
URLURL
https://{api_host}tcsa.host.com/tcsa/api/v1/tasks/{id}
Path Parameters
Path Parameters
string
id
Required
The id of task.
Request Body
Request Body
{
"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_PROGRESS , COMPLETED , FAILED
Authentication
This operation uses the following authentication methods.
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
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