[{"label":"Latest (2.0.1)","version":"latest"}]
telco-cloud-service-assurance
Perform Server Tools Actions
DescriptionExecutes actions such as “open trouble ticket and close trouble ticket”.
Request
URLURL
https://{api_host}tcsa.host.com/tcsa/api/notification-actions/v1/notifications/server-tools/action
Request Body
Request Body
{
"body": "<arguments><target>ICS_Notification::NOTIFICATION-NetworkFunction_NetworkFunction-ebf940d1-9166-4e3b-bb17-c6b8d200bdc2_Impaired</target><action_id>ICS-ServerProgramAction-Sample - Open Trouble Ticket</action_id><parameters /></arguments>",
"deDupKey": "Name:NOTIFICATION-NetworkFunction_NetworkFunction-ebf940d1-9166-4e3b-bb17-c6b8d200bdc2_Impaired$Source:INCHARGE-SA-PRES$"
}
string
body
Optional
Input required for sam to perform that Action in XML format
string
deDupKey
Optional
DeDupkey uniquely indentifies the notification across domains.
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
string
of type text/plain
"[0, \"\nThis is a demo of a tool to open a trouble ticket.\n\n\nTicket opened: ID = 1735 \n\n\"]"
Errors
401
Client must authenticate itself to get the requested response
403
The client does not have access rights to the content; that is, it is Client must authenticate itself to get the requested response
404
The server can not find the requested resource
Code Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"body":"<arguments><target>ICS_Notification::NOTIFICATION-NetworkFunction_NetworkFunction-ebf940d1-9166-4e3b-bb17-c6b8d200bdc2_Impaired</target><action_id>ICS-ServerProgramAction-Sample - Open Trouble Ticket</action_id><parameters /></arguments>","deDupKey":"Name:NOTIFICATION-NetworkFunction_NetworkFunction-ebf940d1-9166-4e3b-bb17-c6b8d200bdc2_Impaired$Source:INCHARGE-SA-PRES$"}' https://{api_host}tcsa.host.com/tcsa/api/notification-actions/v1/notifications/server-tools/action
Vendor Extensions
This operation contains the following vendor extensions defined in the spec:
x-codegen-request-body-name: request
[{"label":"Latest (2.0.1)","version":"latest"}]
telco-cloud-service-assurance
On This Page
Notification Operations
post
post
post
post
post
post
post
post
post
post