java.lang.Object
com.ringcentral.paths.restapi.account.emergencyaddressautoupdate.switches.Index

public class Index extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • path

      public String path(Boolean withParameter)
    • path

      public String path()
    • list

      Returns a corporate map of configured network switches with the assigned emergency addresses for the logged-in account.

      HTTP Method: get Endpoint: /restapi/{apiVersion}/account/{accountId}/emergency-address-auto-update/switches Rate Limit Group: Heavy App Permission: EditAccounts User Permission: ConfigureEmergencyMaps

      Throws:
      RestException
      IOException
    • list

      public SwitchesList list() throws RestException, IOException
      Throws:
      RestException
      IOException
    • post

      public SwitchInfo post(CreateSwitchInfo createSwitchInfo) throws RestException, IOException
      Creates a new switch in corporate map based on chassis ID and used for Automatic Locations Update feature.

      HTTP Method: post Endpoint: /restapi/{apiVersion}/account/{accountId}/emergency-address-auto-update/switches Rate Limit Group: Heavy App Permission: EditAccounts User Permission: ConfigureEmergencyMaps

      Throws:
      RestException
      IOException
    • get

      public SwitchInfo get() throws RestException, IOException
      Returns the specified switch with the assigned emergency address. HTTP Method: get Endpoint: /restapi/{apiVersion}/account/{accountId}/emergency-address-auto-update/switches/{switchId} Rate Limit Group: Medium App Permission: EditAccounts User Permission: ConfigureEmergencyMaps
      Throws:
      RestException
      IOException
    • put

      public SwitchInfo put(UpdateSwitchInfo updateSwitchInfo) throws RestException, IOException
      Updates switch. Partial update is not supported, all switch parameters should be specified. If null value is received or parameter is missing, its value is removed.

      HTTP Method: put Endpoint: /restapi/{apiVersion}/account/{accountId}/emergency-address-auto-update/switches/{switchId} Rate Limit Group: Heavy App Permission: EditAccounts User Permission: ConfigureEmergencyMaps

      Throws:
      RestException
      IOException
    • delete

      public String delete() throws RestException, IOException
      Deletes wireless switch(es) in a network configuration for Automatic Location Updates feature.

      HTTP Method: delete Endpoint: /restapi/{apiVersion}/account/{accountId}/emergency-address-auto-update/switches/{switchId} Rate Limit Group: Heavy App Permission: EditAccounts User Permission: ConfigureEmergencyMaps

      Throws:
      RestException
      IOException