Class Index
java.lang.Object
com.ringcentral.paths.restapi.account.phonenumber.Index
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()
Returns phone number(s) belonging to a certain account or extension by phoneNumberId(s).list()
list
(ListAccountPhoneNumbersParameters queryParams) Returns the list of phone numbers assigned to RingCentral customer account.path()
-
Field Details
-
rc
-
parent
-
phoneNumberId
-
-
Constructor Details
-
Index
-
-
Method Details
-
path
-
path
-
list
public AccountPhoneNumbers list(ListAccountPhoneNumbersParameters queryParams) throws RestException, IOException Returns the list of phone numbers assigned to RingCentral customer account. Both company-level and extension-level numbers are returned.HTTP Method: get Endpoint: /restapi/{apiVersion}/account/{accountId}/phone-number Rate Limit Group: Heavy App Permission: ReadAccounts User Permission: ReadCompanyPhoneNumbers
- Throws:
RestException
IOException
-
list
- Throws:
RestException
IOException
-
get
Returns phone number(s) belonging to a certain account or extension by phoneNumberId(s). [Batch request syntax](https://developers.ringcentral.com/api-reference/Batch-Requests) is supported.HTTP Method: get Endpoint: /restapi/{apiVersion}/account/{accountId}/phone-number/{phoneNumberId} Rate Limit Group: Light App Permission: ReadAccounts User Permission: ReadCompanyPhoneNumbers
- Throws:
RestException
IOException
-