Request URL
POST https://api.dotcom-monitor.com/config_api_v1/devices/PostponeTimed
Pauses monitoring of several devices with the provided IDs (e.g., during a maintenance window) for a specified time period on a given date and time.
Header Parameters
Content-Type: application/json
Body Parameters
Field | Type | Required | Description |
---|---|---|---|
SetPostpone |
Array of Objects |
true |
Contains parameters to set timed pauses in monitoring for the group of the specified tests. |
Device_ID |
int32 |
true |
The unique id of a monitoring device. To request a list of device IDs within a platform, see API: Get Device List by Platform. |
Postpone_min |
int |
true |
Defines the time period in minutes for which monitoring will be paused from the moment of the request.
Example 1: { "Device_ID": 7394, "Postpone_Min": 20 } Will postpone (set maintenance) for 10 minutes for the device with ID 7394. Example 2. Unpostpone monitoring: { "Device_ID":7394 "Postpone_Min": 0 } Will enable monitoring for the device with ID 7394 immediately at the moment of the request. |
Date_From |
string |
optional |
Timestamp reflecting the moment when the device will be postponed.
Example: { "Device_ID":7394 "Postpone_Min": 10, "Date_From": "14-May-2023 12:30" } Will postpone (set maintenance) for 10 minutes for the device with ID 7394 from the specified date and time. Time is set based on a user’s time zone (server-side autoconvert). |