Summary:
Create custom webhook payloads.
URL:
http(s)://{server hostname}/api/webhook/cloudAlert/Generic?serverId={serverId}&group={groupId}&objectId={objectId}
Methods summary
- POST Method - create custom webhook payloads
POST Method detail
Creates a custom webhook payloads.
Request:
Once an endpoint has been created, the URL can be copied from the URL column of the Webhook Endpoints table on the Webhooks UI page.
- serverId = ID of the Entuity server.
- groupId = custom webhook group name with which the payload is associated.
- objectId = Entuity server StormWorks objectID from which the payload is sent from.
Response:
If successful, the output is empty.
Example:
INPUT
curl -u admin:admin -k https://localhost/api/webhook/cloudAlert/Generic?group=Junipermist&objectId=808&serverId=8d3f62ec-407b-440e-bc4f-97b8633c7fd6 -H 'content-type:application/json' -X POST -d \
{
"version": "0.1",
"sharedSecret": "bd5f88b2-b082-45a7-8cd6-4a9440855726",
"sentAt": "2021-05-11T08:09:00.046974Z",
"organizationId": "2930418",
"organizationName": "My organization",
"organizationUrl": "https://dashboard.meraki.com/o/VjjsAd/manage/organization/overview",
"networkId": "N_24329156",
"networkName": "Main Office",
"networkUrl": "https://n1.meraki.com//n//manage/nodes/list",
"networkTags": [
"region-1",
"corporate"
],
"deviceSerial": "Q234-ABCD-5678",
"deviceMac": "e0:55:3d:10:56:8a",
"deviceName": "My AP",
"deviceUrl": "https://n1.meraki.com//n//manage/nodes/new_list/000000000000",
"deviceTags": [
"tag1",
"tag2"
],
"deviceModel": "MR34",
"alertId": "0000000000000000",
"alertType": {
"alertTypeName": "JuniperMist device came up",
"alertTypeId": "started_reporting"
},
"alertLevel": "informational",
"occurredAt": "2018-02-11T00:00:00.123450Z",
"junk1": "junk1",
"junk2": "junk2",
"alertData": {
"DataThing1": "thing!"
}
}
OUTPUT
[ ]
Comments
0 comments
Please sign in to leave a comment.