java.lang.Object
com.ringcentral.paths.restapi.account.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 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. HTTP Method: get Endpoint: /restapi/{apiVersion}/account/{accountId}/business-hours Rate Limit Group: Light App Permission: ReadAccounts User Permission: ReadCompanyAnsweringRules
      Throws:
      RestException
      IOException
    • put

      public CompanyBusinessHours put(CompanyBusinessHoursUpdateRequest companyBusinessHoursUpdateRequest) throws RestException, IOException
      Updates the company business hours schedule. HTTP Method: put Endpoint: /restapi/{apiVersion}/account/{accountId}/business-hours Rate Limit Group: Medium App Permission: EditExtensions User Permission: EditUserAnsweringRules
      Throws:
      RestException
      IOException