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

Get Audit Trail

Description

This API returns the audit trails of the notification.

Request

Request

URL

URL


post
https://{api_host}tcsa.host.com/tcsa/api/notification-management/v1/notifications/audit-trail
Copy

Request Body

Request Body

AuditRequest of mimetype application/json Required

Request to get audit trail of a notification.

{
    "deDupKey": "Name:NOTIFICATION-KubernetesWorker_KubernetesWorker-96105fd2-1a74-46b6-ac8f-e869609e8d42_Down$Source:INCHARGE-SA-PRES$",
    "firstNotifiedAt": 1660934327000,
    "source": "INCHARGE-SA-PRES"
}
string
deDupKey Required

deDupKey, uniquely indentifies the notification across domains.


number
firstNotifiedAt Required

The timestamp of notification, when it was first notified.


string
source Required

The origin source of the notification. If source is not defined in notification, pass an empty value “”.

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns AuditResponse of type application/json
{
	"Result": [
		{
			"AuditTrail": [
				{
					"ActionType": "NOTIFY",
					"SerialNumber": 0,
					"Text": "Server: INCHARGE-SA",
					"Timestamp": 1660934341000,
					"User": "DXA"
				}
			],
			"DeDupKey": "Name:NOTIFICATION-KubernetesWorker_KubernetesWorker-96105fd2-1a74-46b6-ac8f-e869609e8d42_Down$Source:INCHARGE-SA-PRES$INCHARGE-SA-PRES@1660934327000",
			"customer": "string"
		}
	]
}
array of Audit
Result Optional

An array of audit trail objects.

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 '{"deDupKey":"Name:NOTIFICATION-KubernetesWorker_KubernetesWorker-96105fd2-1a74-46b6-ac8f-e869609e8d42_Down$Source:INCHARGE-SA-PRES$","firstNotifiedAt":1660934327000,"source":"INCHARGE-SA-PRES"}' https://{api_host}tcsa.host.com/tcsa/api/notification-management/v1/notifications/audit-trail


Feedback

Was this page helpful?