java.lang.Object
com.ringcentral.paths.restapi.account.extension.businesshours.Index

public class Index extends Object
  • Field Details

  • Constructor Details

    • Index

      public Index(Index parent)
  • Method Details

    • path

      public String path()
    • path

      public String path(Boolean withParameter)
    • 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