API: Edit Scheduler

Scheduler edit request consist of the same data you get when you pull out Scheduler info. This info can be processed according to your goals and POSTed back to the same Scheduler URI.

POST URI:

/scheduler/{scheduler_id}
TIME FORMAT
Please remember that time should be given in UNIX time format:

"Date_Time_Intervals": [{
 "From": 1358712000000,
 "To": 1358798400000
 }]
POST Content example (formatted):

{
“WeeklyIntervals”:
[
{
“Day”:[“Su”,”Mo”,”Tu”,”We”,”Th”,”Fr”,”Sa”],
“From”:720,
“To”:1439,
“Included”:true
},
{
“Day”:[“Su”,”Sa”],
“From”:720,
“To”:1439,
“Included”:false
}
],
“DateTimeIntervals”:
[
{
“From”:1358668800,
“To”:1358712000
}
],
}

Success Response:

{
“Success”: true,
“Result”: “Scheduler 6954 has been updated”
}