AlarmsOne's custom outbound API is a RESTful API that helps you send alarms from AlarmsOne to your custom application.
Integrating applications using Custom API Outbound Integration.
1. Goto Applications by clicking the Applications icon, then click Applications(+) button in the left panel or click the +Add Application button at the top right corner. Click Outbound at the top. From the list displayed, select Custom API Integration.
1. Enter the Application Label, and paste the webhook URL to which you want to post the alert.
2. Enter the Header Value.
3. Now choose 'Standard' in Data format and map the fields in AlarmsOne with the fields in the custom application by entering the relevant Key.
4. If you want to add Custom Data type, then choose Custom.
Entering the below variables will display the respective field.
AlarmsOne Variables List :
$ALARMID
$DISPLAYNAME
$SEVERITY
$ENTITYNAME
$ENTITYID
$APPLICATION
$CATEGORY
$MESSAGE
$STATUS
$EVENTTIME
$OWNER
4. Click Add to add the application.
Sample custom data format (Jira):
{
"fields":{
"summary":"$DISPLAYNAME-$SEVERITY",
"issuetype":{
"name":"[System] Incident"
},
"description":{
"type":"doc",
"version":1,
"content":[
{
"type":"paragraph",
"content":[
{
"text":"Display Name : $DISPLAYNAME \n Entity Name : $ENTITYNAME \n Application : $APPLICATION \n Category : $CATEGORY \n Message : $MESSAGE \n Severity : $SEVERITY \n Status : $STATUS \n Occurred Time : $EVENTTIME \n Shared by : $OWNER \n View Detailed Message : https://alarmsone.localmanageengine.com/alarmsone#/alarmsview/$ALARMID",
"type":"text"
}
]
}
]
},
"project":{
"key":"IP"
},
"priority":{
"name":"Highest"
}
}
}