Create Alarm

Create Alarm

This operation creates an Alarm entity.

Request
URI
POST
https://{api_host}/tcsa.host.com/tcsa/api/tmf/v1/alarms
COPY
Request Body

The Alarm to be created

AlarmCreate of type(s) application/json
Required
{
    "alarmType": "OpenAPIExample",
    "alarmedObjectType": "gNodeB",
    "perceivedSeverity": "MAJOR",
    "alarmedObject": {
        "id": "gNodeB-service-mavenir$gNodeB$INCHARGE-SA-PRES"
    },
    "ackSystemId": "postman-api",
    "ackUserId": "admin",
    "probableCause": "UserDefined probable cause",
    "proposedRepairedActions": "UserDefined proposed repaired actions",
    "affectedService": [
        {
            "id": "Name:NOTIFICATION-Router_AMPMNEWUS23000__PS__Router__267_Unresponsive$Source:INCHARGE-SA-PRES2$"
        }
    ],
    "alarmEscalation": false,
    "clearSystemId": "creating clearSystemId",
    "clearUserId": "creating clearUserId",
    "externalAlarmId": "creating External Alarm ID",
    "reportingSystemId": "creating Reporting System ID",
    "serviceAffecting": false,
    "specificProblem": "creating 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.

string As date-time 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 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 As date-time
alarmRaisedTime
Optional

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

string As date-time 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
Required

Categorize the alarm.

string
alarmedObjectType
Required

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

string
externalAlarmId
Optional

An identifier of the alarm in the source system.

boolean
isRootCause
Optional

Indicates whether the alarm is a root cause alarm..

string
perceivedSeverity
Required

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

Possible values are : CRITICAL, MAJOR, MINOR, NORMAL, UNKNOWN,
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_MAINTENANCE, OUT_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

affectedService
Optional

Identifies the service affected by the alarm.

alarmedObject
Required

alarmedObject

array of Comment
comment
Optional

comment

array of AlarmRef
correlatedAlarm
Optional

Indicates other alarms related to this alarm.

crossedThresholdInformation
Optional

Identifies the details of the threshold that has been crossed.

array of AlarmRef
parentAlarm
Optional

Indicates the parent alarms of the alarm.

place
Optional

place

Authentication
This operation uses the following authentication methods.
Responses
201

Created

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

Identifier of the alarm, determined by the alarm owning system

string
href
Optional

A reference to the alarm.


400

Bad Request

Returns Error of type(s) application/json
{
    "code": "string",
    "reason": "string",
    "message": "string",
    "status": "string",
    "referenceError": "string",
    "@baseType": "string",
    "@schemaLocation": "string",
    "@type": "string"
}
string
code
Required

Application relevant detail, defined in the API or a common list.

string
reason
Required

Explanation of the reason for the error which can be shown to a client user.

string
message
Optional

More details and corrective actions related to the error which can be shown to a client user.

string
status
Optional

HTTP Error code extension

string As uri As uri
referenceError
Optional

URI of documentation describing the error.

string
@baseType
Optional

When sub-classing, this defines the super-class.

string As uri As uri
@schemaLocation
Optional

A URI to a JSON-Schema file that defines additional attributes and relationships

string
@type
Optional

When sub-classing, this defines the sub-class entity name.


401

Unauthorized

Returns Error of type(s) application/json
{
    "code": "string",
    "reason": "string",
    "message": "string",
    "status": "string",
    "referenceError": "string",
    "@baseType": "string",
    "@schemaLocation": "string",
    "@type": "string"
}
string
code
Required

Application relevant detail, defined in the API or a common list.

string
reason
Required

Explanation of the reason for the error which can be shown to a client user.

string
message
Optional

More details and corrective actions related to the error which can be shown to a client user.

string
status
Optional

HTTP Error code extension

string As uri As uri
referenceError
Optional

URI of documentation describing the error.

string
@baseType
Optional

When sub-classing, this defines the super-class.

string As uri As uri
@schemaLocation
Optional

A URI to a JSON-Schema file that defines additional attributes and relationships

string
@type
Optional

When sub-classing, this defines the sub-class entity name.


403

Forbidden

Returns Error of type(s) application/json
{
    "code": "string",
    "reason": "string",
    "message": "string",
    "status": "string",
    "referenceError": "string",
    "@baseType": "string",
    "@schemaLocation": "string",
    "@type": "string"
}
string
code
Required

Application relevant detail, defined in the API or a common list.

string
reason
Required

Explanation of the reason for the error which can be shown to a client user.

string
message
Optional

More details and corrective actions related to the error which can be shown to a client user.

string
status
Optional

HTTP Error code extension

string As uri As uri
referenceError
Optional

URI of documentation describing the error.

string
@baseType
Optional

When sub-classing, this defines the super-class.

string As uri As uri
@schemaLocation
Optional

A URI to a JSON-Schema file that defines additional attributes and relationships

string
@type
Optional

When sub-classing, this defines the sub-class entity name.


405

Method Not allowed

Returns Error of type(s) application/json
{
    "code": "string",
    "reason": "string",
    "message": "string",
    "status": "string",
    "referenceError": "string",
    "@baseType": "string",
    "@schemaLocation": "string",
    "@type": "string"
}
string
code
Required

Application relevant detail, defined in the API or a common list.

string
reason
Required

Explanation of the reason for the error which can be shown to a client user.

string
message
Optional

More details and corrective actions related to the error which can be shown to a client user.

string
status
Optional

HTTP Error code extension

string As uri As uri
referenceError
Optional

URI of documentation describing the error.

string
@baseType
Optional

When sub-classing, this defines the super-class.

string As uri As uri
@schemaLocation
Optional

A URI to a JSON-Schema file that defines additional attributes and relationships

string
@type
Optional

When sub-classing, this defines the sub-class entity name.


409

Conflict

Returns Error of type(s) application/json
{
    "code": "string",
    "reason": "string",
    "message": "string",
    "status": "string",
    "referenceError": "string",
    "@baseType": "string",
    "@schemaLocation": "string",
    "@type": "string"
}
string
code
Required

Application relevant detail, defined in the API or a common list.

string
reason
Required

Explanation of the reason for the error which can be shown to a client user.

string
message
Optional

More details and corrective actions related to the error which can be shown to a client user.

string
status
Optional

HTTP Error code extension

string As uri As uri
referenceError
Optional

URI of documentation describing the error.

string
@baseType
Optional

When sub-classing, this defines the super-class.

string As uri As uri
@schemaLocation
Optional

A URI to a JSON-Schema file that defines additional attributes and relationships

string
@type
Optional

When sub-classing, this defines the sub-class entity name.


500

Internal Server Error

Returns Error of type(s) application/json
{
    "code": "string",
    "reason": "string",
    "message": "string",
    "status": "string",
    "referenceError": "string",
    "@baseType": "string",
    "@schemaLocation": "string",
    "@type": "string"
}
string
code
Required

Application relevant detail, defined in the API or a common list.

string
reason
Required

Explanation of the reason for the error which can be shown to a client user.

string
message
Optional

More details and corrective actions related to the error which can be shown to a client user.

string
status
Optional

HTTP Error code extension

string As uri As uri
referenceError
Optional

URI of documentation describing the error.

string
@baseType
Optional

When sub-classing, this defines the super-class.

string As uri As uri
@schemaLocation
Optional

A URI to a JSON-Schema file that defines additional attributes and relationships

string
@type
Optional

When sub-classing, this defines the sub-class entity name.