Class Index
java.lang.Object
com.ringcentral.paths.restapi.account.extension.businesshours.Index
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()
Returns the user business hours schedule.path()
put
(UserBusinessHoursUpdateRequest userBusinessHoursUpdateRequest) Updates the user business hours schedule.
-
Field Details
-
rc
-
parent
-
-
Constructor Details
-
Index
-
-
Method Details
-
path
-
path
-
get
Returns the user 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. **Please note:** If the user business hours are set to 'Custom hours' then a particular schedule is returned; however if set to '24 hours/7 days a week' the schedule will be empty. HTTP Method: get Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/business-hours Rate Limit Group: Light App Permission: ReadAccounts User Permission: ReadExtensions- Throws:
RestException
IOException
-
put
public UserBusinessHoursUpdateResponse put(UserBusinessHoursUpdateRequest userBusinessHoursUpdateRequest) throws RestException, IOException Updates the user business hours schedule. HTTP Method: put Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/business-hours Rate Limit Group: Medium App Permission: EditExtensions User Permission: EditUserAnsweringRules- Throws:
RestException
IOException
-