put https://api.fonestorm.com/v2/scheduler/
Update a Scheduler.
Notes
label
label
Name/Label for the scheduler.
timezone
timezone
A valid timezone string. Default timezone is EST5EDT.
business_hours
business_hours
An object with business hours options.
business_hours_service_type
- Routes call to a particular service type during business hours. Valid service types are Phonenumber, SpeedDial, Scheduler, Conference, Device, Scheduler, IVRMenu, TimeOfDayRoute, VoiceMail, Hangup, Busy, Reject, WebHook or WebRequest.business_hours_service_id
- Service type id for the business hours service typeafter_hours_service_type
- Routes call to a particular service type during after hours. Valid service types are Phonenumber, SpeedDial, Scheduler, Conference, Device, Scheduler, IVRMenu, TimeOfDayRoute, VoiceMail, Hangup, Busy, Reject, WebHook or WebRequest.after_hours_service_id
- Service type id for the after hours service typelunch_hours_service_type
- Routes call to a particular service type during lunch hours. Valid service types are Phonenumber, SpeedDial, Scheduler, Conference, Device, Scheduler, IVRMenu, TimeOfDayRoute, VoiceMail, Hangup, Busy, Reject, WebHook or WebRequest.lunch_hours_service_id
- Service type id for the lunch hours service typemonday
,tuesday
,wednesday
,thursday
,friday
,saturday
,sunday
- For weekdays it requires business open and close time. Lunch start and end times are optional.
holiday_hours
holiday_hours
holiday_hours_service_type
- Routes call to a particular service type during holiday hours. Valid service types are Phonenumber, SpeedDial, Scheduler, Conference, Device, Scheduler, IVRMenu, TimeOfDayRoute, VoiceMail, Hangup, Busy, Reject, WebHook or WebRequest.holiday_hours_service_id
- Service type id for the holiday hours service typeholidays
- Array of the holiday object.holiday_name
- Name/Label for the holiday.holiday_type
- A public holiday or a custom holiday. Custom holiday will require start and end time.custom_holiday_start
- Custom holiday start time in MM-DD HH:mm format.custom_holiday_end
- Custom holiday end time in MM-DD HH:mm format.
override_mode
override_mode
Override mode option can be used to override all other settings. Available modes are Scheduler, OfficeHours, AfterHours, Lunch and Holiday.
override_extension
override_extension
1 to 6 digit extension to change override mode.
Sample Response
{
"scheduler": {
"id": "TOD8364363011",
"label": "Scheduler 1",
"timezone": "EST5EDT",
"business_hours": {
"business_hours_service_type": "Hangup",
"business_hours_service_id": "Hangup",
"after_hours_service_type": "Hangup",
"after_hours_service_id": "Hangup",
"lunch_hours_service_type": "Hangup",
"lunch_hours_service_id": "Hangup",
"monday": {
"business_open": "09:00",
"business_close": "17:00",
"lunch_start": "13:00",
"lunch_end": "14:00"
},
"tuesday": {
"business_open": "09:00",
"business_close": "17:00",
"lunch_start": "13:00",
"lunch_end": "14:00"
},
"wednesday": {
"business_open": "09:00",
"business_close": "17:00",
"lunch_start": "13:00",
"lunch_end": "14:00"
},
"thursday": {
"business_open": "09:00",
"business_close": "17:00",
"lunch_start": "13:00",
"lunch_end": "14:00"
},
"friday": {
"business_open": "09:00",
"business_close": "13:00",
"lunch_start": "11:00",
"lunch_end": "12:00"
},
"saturday": {
"business_open": "00:00",
"business_close": "00:00",
"lunch_start": "00:00",
"lunch_end": "00:00"
},
"sunday": {
"business_open": "00:00",
"business_close": "00:00",
"lunch_start": "00:00",
"lunch_end": "00:00"
}
},
"holiday_hours": {
"holiday_hours_service_type": "Phonenumber",
"holiday_hours_service_id": "3214991000",
"holidays": [
{
"holiday_name": "Holiday1",
"holiday_type": "New Years Day",
"custom_holiday_start": "",
"custom_holiday_end": ""
},
{
"holiday_name": "Holiday2",
"holiday_type": "Martin Luther King Birthday",
"custom_holiday_start": "",
"custom_holiday_end": ""
},
{
"holiday_name": "Holiday3",
"holiday_type": "Independence Day",
"custom_holiday_start": "",
"custom_holiday_end": ""
},
{
"holiday_name": "Holiday4",
"holiday_type": "Custom",
"custom_holiday_start": "01-01 00:00",
"custom_holiday_end": "01-02 00:00"
}
]
},
"override_mode": "Scheduler",
"override_extension": ""
}
}
Response Properties
Property | Type | Description |
---|---|---|
scheduler | object | Scheduler |