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

Patch Alarm

Description

This operation updates partially, an Alarm entity.

Request

Request

URL

URL


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

Path Parameters

Path Parameters

string
id Required

Identifier of the Alarm

id example
"Name:NOTIFICATION-gNodeB_gNodeB-service-mavenir_OpenAPIExample$Source:INCHARGE-SA-PRES$"

Request Body

Request Body

AlarmUpdate of mimetype application/json Required

The Alarm to be updated

{
    "ackSystemId": "updating ackSystemId",
    "ackUserId": "updating ackUserId",
    "affectedService": [
        {
            "id": "Name:NOTIFICATION-Router_AMPMNEWUS23000__PS__Router__267_Unresponsive$Source:INCHARGE-SA-PRES2$"
        }
    ],
    "alarmDetails": "Updating alarm details",
    "alarmEscalation": false,
    "clearSystemId": "updating clearSystemId",
    "clearUserId": "updating clearUserId",
    "externalAlarmId": "updating External Alarm ID",
    "perceivedSeverity": "NORMAL",
    "plannedOutageIndicator": "PLANNED_MAINTENANCE",
    "probableCause": "updating UserDefined probable cause",
    "proposedRepairedActions": "updating UserDefined proposed repaired actions",
    "reportingSystemId": "updating Reporting System ID",
    "serviceAffecting": false,
    "specificProblem": "updating specific problem"
}
string
ackState Optional

Provides the Acknowledgement State of the alarm


string
ackSystemId Optional

Provides the name of the system that last changed the ackState of an alarm, i.e. acknowledged or unacknowledged the alarm.


string
ackUserId Optional

Provides the id of the user who has last changed the ack state of the alarm, i.e. acknowledged or unacknowledged the alarm.


array of AffectedService
affectedService Optional

Identifies the service affected by the alarm.


string as date-time
alarmChangedTime Optional

Indicates the last date and time when the alarm is changed on the alarm-owning system. Any change to the alarm whether coming from the alarmed resource, or triggered by a change from the client is changing this time.


string as date-time
alarmClearedTime Optional

Indicates the time (as a date + time) at which the alarm is cleared at the source.


string
alarmDetails Optional

Contains further information on the alarm.


boolean
alarmEscalation Optional

Indicates if this alarm has been escalated or not.


string as date-time
alarmRaisedTime Optional

Indicates the time (as a date + time) at which the alarm occurred at its source.


string as date-time
alarmReportingTime Optional

Indicates the time (as a date + time) at which the alarm was reported by the owning OSS. It might be different from the alarmRaisedTime. For instance, if the alarm list is maintained by an EMS, the alarmRaisedtime would be the time the alarm was detected by the NE, while the alarmReportingTime would be the time this alarm was stored in the alarm list of the EMS.


string
alarmType Optional

Categorize the alarm.


alarmedObject Optional

Identifies the managed object instance associated with the alarm.


string
alarmedObjectType Optional

The type (class) of the managed object associated with the event.


string
clearSystemId Optional

Provides the id of the system where the user who invoked the alarmCleared operation is located.


string
clearUserId Optional

Provides the id of the user who invoked the alarmCleared operation


array of Comment
comment Optional

Indicates the comments entered on the alarm.


array of AlarmRef
correlatedAlarm Optional

Indicates other alarms related to this alarm.


crossedThresholdInformation Optional

Identifies the details of the threshold that has been crossed.


string
externalAlarmId Optional

An identifier of the alarm in the source system.


boolean
isRootCause Optional

Indicates whether the alarm is a root cause alarm..


array of AlarmRef
parentAlarm Optional

Indicates the parent alarms of the alarm.


string
perceivedSeverity Optional

Lists the possible severities that can be allocated to an Alarm.

Possible values are: CRITICALMAJORMINORNORMALUNKNOWN


place Optional

Related Entity reference. A related place defines a place described by reference or by value linked to a specific entity. The polymorphic attributes @type, @schemaLocation & @referredType are related to the place entity and not the RelatedPlaceRefOrValue class itself


string
plannedOutageIndicator Optional

Indicates that the Managed Object (related to this alarm) is in planned outage (in planned maintenance, or out-of-service).

Possible values are: PLANNED_MAINTENANCEOUT_OF_SERVICE


string
probableCause Optional

Provides the probable cause of the alarm.


string
proposedRepairedActions Optional

Indicates proposed repair actions, if known to the system emitting the alarm.


string
reportingSystemId Optional

Reporting system identity.


boolean
serviceAffecting Optional

Indicates whether the alarm affects service or not.


string
sourceSystemId Optional

Source system identity.


string
specificProblem Optional

Provides more specific information about the alarm.


string
state Optional

Defines the alarm state during its life cycle

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns AlarmUpdateResponse of type application/json
{
	"href": "/tcsa/api/tmf/v1/alarms/Name%3ANOTIFICATION-gNodeB_gNodeB-service-mavenir_OpenAPIExample%24Source%3AINCHARGE-SA-PRES%24",
	"id": "Name:NOTIFICATION-gNodeB_gNodeB-service-mavenir_OpenAPIExample$Source:INCHARGE-SA-PRES$"
}
string
href Optional

A reference to the alarm.


string
id Optional

Identifier of the alarm, determined by the alarm owning system

Errors

Errors

Error
400

Bad Request


Error
401

Unauthorized


Error
403

Forbidden


Error
404

Not Found


Error
405

Method Not allowed


Error
409

Conflict


Error
500

Internal Server Error

Code Samples

Code Samples

cURL Command

curl -X PATCH -H "Content-Type: application/json" -d '{"ackSystemId":"updating ackSystemId","ackUserId":"updating ackUserId","affectedService":[{"id":"Name:NOTIFICATION-Router_AMPMNEWUS23000__PS__Router__267_Unresponsive$Source:INCHARGE-SA-PRES2$"}],"alarmDetails":"Updating alarm details","alarmEscalation":false,"clearSystemId":"updating clearSystemId","clearUserId":"updating clearUserId","externalAlarmId":"updating External Alarm ID","perceivedSeverity":"NORMAL","plannedOutageIndicator":"PLANNED_MAINTENANCE","probableCause":"updating UserDefined probable cause","proposedRepairedActions":"updating UserDefined proposed repaired actions","reportingSystemId":"updating Reporting System ID","serviceAffecting":false,"specificProblem":"updating specific problem"}' https://{api_host}tcsa.host.com/tcsa/api/tmf/v1/alarms/Name:NOTIFICATION-gNodeB_gNodeB-service-mavenir_OpenAPIExample$Source:INCHARGE-SA-PRES$
Vendor Extensions

Vendor Extensions

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


Feedback

Was this page helpful?