Business Hours
Get Company Business Hours
Returns the company business hours schedule. Business hours (and After hours - all the remaining time) schedules are commonly used for setting call handling rules - business-hours-rule and after-hours-rule correspondingly.
get/restapi/v1.0/account/{accountId}/business-hours
Request
- Base URLhttps://platform.ringcentral.com
- AuthOAuth 2Authorization codehttps://platform.ringcentral.com/restapi/oauth/authorizeToken URLhttps://platform.ringcentral.com/restapi/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
accountIdstring required
Internal identifier of the RingCentral account (can be set to "~" to indicate that the account associated with current authorization session should be used)
Response
OK
Example response
{
"uri": "https://platform.ringcentral.com/restapi/v1.0/account/401800045008/business-hours",
"schedule": {
"weeklyRanges": {
"wednesday": [
{
"from": "09:00",
"to": "18:00"
}
],
"friday": [
{
"from": "09:00",
"to": "18:00"
}
],
"tuesday": [
{
"from": "09:00",
"to": "18:00"
}
],
"monday": [
{
"from": "09:00",
"to": "18:00"
}
],
"thursday": [
{
"from": "09:00",
"to": "18:00"
}
]
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.