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

Perform Server Tools Actions

Description

Executes actions such as “open trouble ticket and close trouble ticket”.

Request

Request

URL

URL


post
https://{api_host}tcsa.host.com/tcsa/api/notification-actions/v1/notifications/server-tools/action
Copy

Request Body

Request Body

ServerToolsActionRequest of mimetype application/json Required

Server tool action 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

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response 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

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

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

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-codegen-request-body-name: request


Feedback

Was this page helpful?