Scheduler

FoneStorm scheduler object representing an account resource in the object store.

{
    "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

PropertyTypeDescription
idstringScheduler ID
labelstringName/Label for Scheduler
timezonestringTimezone for the Scheduler. Default is EST5EDT.
business_hoursobjectBusiness hours setting object
holiday_hoursobjectHoliday hours setting object
override_modestringOverride mode can be Scheduler, OfficeHours, AfterHours, Lunch or Holiday. Default is Scheduler.
override_extensionstringExtension to call to change override mode

business_hours object

PropertyTypeDescription
business_hours_service_typestringBusiness hours service type
business_hours_service_idstringBusiness hours service id
after_hours_service_typestringAfter hours service type
after_hours_service_idstringAfter hours service id
lunch_hours_service_typestringLunch hours service type
lunch_hours_service_idstringLunch hours service id
mondayobjectweekday object
tuesdayobjectweekday object
wednesdayobjectweekday object
thursdayobjectweekday object
fridayobjectweekday object
saturdayobjectweekday object
sundayobjectweekday object

holiday_hours object

PropertyTypeDescription
holiday_hours_service_typestringholiday hours service type
holiday_hours_service_idstringholiday hours service id
holidaysarrayArray of holiday object

weekday object

PropertyTypeDescription
business_openstringBusiness open time in HH:mm format
business_closestringBusiness close time in HH:mm format
lunch_startstringLunch start time in HH:mm format
lunch_endstringLunch close time in HH:mm format

holiday object

PropertyTypeDescription
holiday_namestringHoliday label/name
holiday_typestringHoliday type can be Custom or a Public Holiday supported by FracTEL
custom_holiday_startstringStart date in MM-DD HH:mm format
custom_holiday_endstringEnd date in MM-DD HH:mm format