Class Index
java.lang.Object
com.ringcentral.paths.restapi.account.emergencylocations.Index
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondelete()delete(DeleteEmergencyLocationParameters queryParams) Deletes the specified emergency response location.get()get(ReadEmergencyLocationParameters queryParams) Returns emergency response location by ID.list()list(ListEmergencyLocationsParameters queryParams) Returns emergency response locations for the current account.path()post(EmergencyLocationInfoRequest emergencyLocationInfoRequest) Creates a new emergency response location for a company.put(EmergencyLocationInfoRequest emergencyLocationInfoRequest) Updates the specified emergency response location.
-
Field Details
-
rc
-
parent
-
locationId
-
-
Constructor Details
-
Index
-
-
Method Details
-
path
-
path
-
list
public EmergencyLocationsResource list(ListEmergencyLocationsParameters queryParams) throws RestException, IOException Returns emergency response locations for the current account. HTTP Method: get Endpoint: /restapi/{apiVersion}/account/{accountId}/emergency-locations Rate Limit Group: Light App Permission: ReadAccounts User Permission: ConfigureEmergencyMaps- Throws:
RestExceptionIOException
-
list
- Throws:
RestExceptionIOException
-
post
public CommonEmergencyLocationResource post(EmergencyLocationInfoRequest emergencyLocationInfoRequest) throws RestException, IOException Creates a new emergency response location for a company. HTTP Method: post Endpoint: /restapi/{apiVersion}/account/{accountId}/emergency-locations Rate Limit Group: Medium App Permission: EditAccounts User Permission: ConfigureEmergencyMaps- Throws:
RestExceptionIOException
-
get
public CommonEmergencyLocationResource get(ReadEmergencyLocationParameters queryParams) throws RestException, IOException Returns emergency response location by ID. HTTP Method: get Endpoint: /restapi/{apiVersion}/account/{accountId}/emergency-locations/{locationId} Rate Limit Group: Light App Permission: EditAccounts User Permission: ConfigureEmergencyMaps- Throws:
RestExceptionIOException
-
get
- Throws:
RestExceptionIOException
-
put
public CommonEmergencyLocationResource put(EmergencyLocationInfoRequest emergencyLocationInfoRequest) throws RestException, IOException Updates the specified emergency response location. HTTP Method: put Endpoint: /restapi/{apiVersion}/account/{accountId}/emergency-locations/{locationId} Rate Limit Group: Heavy App Permission: EditAccounts User Permission: ConfigureEmergencyMaps- Throws:
RestExceptionIOException
-
delete
public String delete(DeleteEmergencyLocationParameters queryParams) throws RestException, IOException Deletes the specified emergency response location. HTTP Method: delete Endpoint: /restapi/{apiVersion}/account/{accountId}/emergency-locations/{locationId} Rate Limit Group: Heavy App Permission: EditAccounts User Permission: ConfigureEmergencyMaps- Throws:
RestExceptionIOException
-
delete
- Throws:
RestExceptionIOException
-