UpdateSchedule.wr
04-24-2017
This method creates a new schedule or updates an existing one.
Warning: It is NOT recommended that any of our API developers use this method. If a developer must schedule a campaign in ANY way, please create an application or other method on the developer's side to start campaigns.
Parameters
- Number : timezone - The number of hours for both your start and end time to synchronize with GMT time. For example if you send the positive number 5 your start and end times should be expressed as five hours behind GMT.
- Number : callsetid - callsetid
- Number : scheduleid - id of the existing schedule or "0" to create a new schedule.
- Number : parameter1 - This is the target calls per minute(cpm) to dial the phone numbers at.
- String : starttime - Date format MM-DD-YYYY HH:MM:SS AM
- String : endtime - Date format MM-DD-YYYY HH:MM:SS PM
- String : end - To repeat this schedule forever put "never". Otherwise leave blank.
- String : whentodoit - (optional) DAILY, WEEKDAYS, SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY
- String : servicetable - (optional) Just send "calloutset"
Useage
Example Request
POST /updateSchedule.wr HTTP/1.1
Host: api.voicebroadcasting.com
Content-Type: application/x-www-form-urlencoded
sidtoken=000000000000000000000000000&scheduleid=0&callsetid=55881
&timezone=5&starttime=06-24-2011+09%3A57%3A00+AM
&endtime=06-24-2011+10%3A57%3A00+AM&parameter1=1&whentodoit=
&servicetable=calloutset
Example Response
{"response":"confirmed","scheduleid":7788}