Class Index
java.lang.Object
com.ringcentral.paths.restapi.account.extension.emergencylocations.Index
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondelete()
delete
(DeleteExtensionEmergencyLocationParameters queryParams) Deletes a personal emergency response location by ID by the current user or admin.get()
Returns a personal emergency response location for the current user.list()
list
(GetExtensionEmergencyLocationsParameters queryParams) Returns a list of emergency response locations available for the particular extension.path()
post
(CreateUserEmergencyLocationRequest createUserEmergencyLocationRequest) Creates a personal emergency response location for the current user.put
(EmergencyLocationInfoRequest emergencyLocationInfoRequest) Updates a personal emergency response location by the current user or admin.
-
Field Details
-
rc
-
parent
-
locationId
-
-
Constructor Details
-
Index
-
-
Method Details
-
path
-
path
-
list
public EmergencyLocationsResource list(GetExtensionEmergencyLocationsParameters queryParams) throws RestException, IOException Returns a list of emergency response locations available for the particular extension. HTTP Method: get Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/emergency-locations Rate Limit Group: Light App Permission: ReadAccounts- Throws:
RestException
IOException
-
list
- Throws:
RestException
IOException
-
post
public CommonEmergencyLocationResource post(CreateUserEmergencyLocationRequest createUserEmergencyLocationRequest) throws RestException, IOException Creates a personal emergency response location for the current user. HTTP Method: post Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/emergency-locations Rate Limit Group: Heavy App Permission: EditAccounts User Permission: EmergencyFramework- Throws:
RestException
IOException
-
get
Returns a personal emergency response location for the current user. HTTP Method: get Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/emergency-locations/{locationId} Rate Limit Group: Light App Permission: ReadAccounts- Throws:
RestException
IOException
-
put
public CommonEmergencyLocationResource put(EmergencyLocationInfoRequest emergencyLocationInfoRequest) throws RestException, IOException Updates a personal emergency response location by the current user or admin.HTTP Method: put Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/emergency-locations/{locationId} Rate Limit Group: Light App Permission: EditAccounts User Permission: EmergencyFramework
- Throws:
RestException
IOException
-
delete
public String delete(DeleteExtensionEmergencyLocationParameters queryParams) throws RestException, IOException Deletes a personal emergency response location by ID by the current user or admin. Multiple personal emergency response locations can be deleted by single API call.HTTP Method: delete Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/emergency-locations/{locationId} Rate Limit Group: Heavy App Permission: EditAccounts User Permission: EmergencyFramework
- Throws:
RestException
IOException
-
delete
- Throws:
RestException
IOException
-