Event Profile Management REST API Overview
An event profile is a set of event scripts that are selected from an AI-Script bundle. When you install an event profile on Juniper Networks devices, the event scripts are installed on the devices and provide the information needed to automatically detect and report problem (incident) and information events, thus ensuring maximum network uptime.
The event-profile-management resources are available under https://[host]/api/juniper/servicenow.
URI
https://[host]/api/juniper/servicenow/event-profile-management
Produces
- application/vnd.juniper.servicenow.event-profile-management+xml;version=1
- application/vnd.juniper.servicenow.event-profile-management+json;version=1
Sample Output
Sample XML Output
<servicenow-event-profile-management> <collection href="/api/juniper/servicenow/event-profile-management/eventProfiles" rel="event-profiles"/> </servicenow-event-profile-management>
Sample JSON Output
servicenow-event-profile-management:{ servicenow-event-profile-management:{ collection:{ href:'/api/juniper/servicenow/event-profile-management/eventProfiles', rel:'event-profiles' } } collection:{ href:'/api/juniper/servicenow/event-profile-management/eventProfiles', rel:'event-profiles' } }
The event profile management service provides the following APIs:
- Get All Event Profiles
- Get Information About an Event Profile
- Create an Event Profile
- Install Event Profile on Devices
- Export All Event Profiles by Type
- Export Event Profiles by ID and Type
- Import Event Profiles from a File
- Get Import Event Profiles Job Details
- Get Event Profiles Import Job Results
- Clone an Event Profile
- Set an Event Profile as the Default Event Profile