POST /state_business_hours
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/state_business_hours
Create State Call Time.
Create a State Call Time rule defining the allowed calling hours for one or more states, each day of the week.
Params
| Param name | Description |
|---|---|
|
states Optional Blank value allowed |
States
|
|
name Optional Blank value allowed |
Name
|
|
monday_open_at Optional Blank value allowed |
Monday Open At
|
|
monday_close_at Optional Blank value allowed |
Monday Close At
|
|
tuesday_open_at Optional Blank value allowed |
Tuesday Open At
|
|
tuesday_close_at Optional Blank value allowed |
Tuesday Close At
|
|
wednesday_open_at Optional Blank value allowed |
Wednesday Open At
|
|
wednesday_close_at Optional Blank value allowed |
Wednesday Close At
|
|
thursday_open_at Optional Blank value allowed |
Thursday Open At
|
|
thursday_close_at Optional Blank value allowed |
Thursday Close At
|
|
friday_open_at Optional Blank value allowed |
Friday Open At
|
|
friday_close_at Optional Blank value allowed |
Friday Close At
|
|
saturday_open_at Optional Blank value allowed |
Saturday Open At
|
|
saturday_close_at Optional Blank value allowed |
Saturday Close At
|
|
sunday_open_at Optional Blank value allowed |
Sunday Open At
|
|
sunday_close_at Optional Blank value allowed |
Sunday Close At
|
|
monday_closed Optional Blank value allowed |
When true, outbound calls to this state are blocked all day Monday, regardless of the open/close times.
|
|
tuesday_closed Optional Blank value allowed |
When true, outbound calls to this state are blocked all day Tuesday, regardless of the open/close times.
|
|
wednesday_closed Optional Blank value allowed |
When true, outbound calls to this state are blocked all day Wednesday, regardless of the open/close times.
|
|
thursday_closed Optional Blank value allowed |
When true, outbound calls to this state are blocked all day Thursday, regardless of the open/close times.
|
|
friday_closed Optional Blank value allowed |
When true, outbound calls to this state are blocked all day Friday, regardless of the open/close times.
|
|
saturday_closed Optional Blank value allowed |
When true, outbound calls to this state are blocked all day Saturday, regardless of the open/close times.
|
|
sunday_closed Optional Blank value allowed |
When true, outbound calls to this state are blocked all day Sunday, regardless of the open/close times.
|