API: Scheduler operations

Scheduler object. Formatted JSON:

Fields description 

Field Type Description

Name

String

Scheduler Name

Example:
"Scheduler_Name":"maintenance window"

Description

String

Scheduler  description

Example:
"Scheduler_Description":"some notes"

Weekly_Intervals

Array of Objects

This describes intervals which repeat on a weekly basisDays values are:

“Su”,”Mo”,”Tu”,”We”,”Th”,”Fr”,”Sa”,”Su”

MEANS PROCESSING IS ENABLED
"Included":true
MEANS PROCESSING IS DISABLED
"Included":true
Example:
"Weekly_Intervals": [{
      "Days": ["Tu""We""Th""Fr""Sa"],
      "From_Min": 0,
      "To_Min": 1025,
      "Included"true
      }, {
      "Days": ["Su""Sa"],
      "From_Min": 0,
      "To_Min": 1139,
      "Included"false
      },
]

Date_Time_Intervals

Array of Objects

This describes non-repeat intervals.Time format is given in UNIX time

Example:
"Date_Time_Intervals": [{
            "From": 1358712000000,
            "To": 1358798400000
      }]

Assigned_To

Array of Objects

READ ONLY Field.This field reflects all devices and Alert Groups which have this scheduler assigned.

Example:
"Assigned_To":
      {
            "Devices":[8692],
            "Notification_Groups":[612]
      }