Schedule demo

MaintenanceTask API


The APIs given below allow you to work with downtime schedules in Applications Manager:

Request Parameters

The common parameters involved in these API requests are described below:

FieldDescription
apikeyThe key generated from the Generate API Key option in the Settings tab.
taskNameThe name of the maintenance task. This should be a unique value.
taskTypeThe type of task to be created. Possible values are monitor (for an individual monitor) and group (for a monitor group) .You can configure a schedule for a monitor group by providing the tasktype as group.
taskStatusCurrent status of the schedule. You have to choose from either 'enable' or 'disable'
dataCollectionTypeThis option allows you to stop either monitoring or alarms during maintenance. Possible parameter values are suppressMonitoring and suppressAlarms.
taskidThe unique identifier for the task
resourceidThe resource id of the monitor or monitor group for which the schedule has to be created.
actionIdThe unique identifier for the Email Actionto be triggered for downtime notifications.

Note: This parameter is optional.

taskUserGroupThe name of the user group associated with the Downtime Scheduler.

Sample Request:

This example helps you to create a downtime schedule in Applications Manager:

https://apm-prod-server:8443/AppManager/xml/CreateMaintenanceTask?apikey=aaaaaabbbbbbccccccddddddeeeeee&taskMethod=daily&taskStartTime=20:00&taskEndTime=21:00&taskStatus=disable&taskEffectFrom=2010-05-24%2016:48&taskName=dr1&taskType=monitor&resourceid=10000055&actionId=10000003

If the API is not executed correctly, the request will fail and errors will be thrown. Refer this page for a list of common error conditions.

Loved by customers all over the world

"Standout Tool With Extensive Monitoring Capabilities"

It allows us to track crucial metrics such as response times, resource utilization, error rates, and transaction performance. The real-time monitoring alerts promptly notify us of any issues or anomalies, enabling us to take immediate action.

Reviewer Role: Research and Development

carlos-rivero
"I like Applications Manager because it helps us to detect issues present in our servers and SQL databases."
Carlos Rivero

Tech Support Manager, Lexmark

Trusted by over 6000+ businesses globally