Class Index
java.lang.Object
com.ringcentral.paths.restapi.v2.accounts.phonenumbers.bulkadd.Index
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()Returns the result of asynchronous operation which adds phone numbers to the account Inventory.path()post(AddPhoneNumbersRequest addPhoneNumbersRequest) Adds phone numbers to the account Inventory as unassigned.
-
Field Details
-
rc
-
parent
-
taskId
-
-
Constructor Details
-
Index
-
-
Method Details
-
path
-
path
-
post
public AddPhoneNumbersResponse post(AddPhoneNumbersRequest addPhoneNumbersRequest) throws RestException, IOException Adds phone numbers to the account Inventory as unassigned. Currently, we support the following values: `Inventory`, `InventoryPartnerBusinessMobileNumber` and `PartnerBusinessMobileNumber`. Later we may support some other values like `ForwardedNumber`, etc.HTTP Method: post Endpoint: /restapi/v2/accounts/{accountId}/phone-numbers/bulk-add Rate Limit Group: Heavy App Permission: EditAccounts User Permission: EditCompanyPhoneNumbers
- Throws:
RestExceptionIOException
-
get
Returns the result of asynchronous operation which adds phone numbers to the account Inventory.HTTP Method: get Endpoint: /restapi/v2/accounts/{accountId}/phone-numbers/bulk-add/{taskId} Rate Limit Group: Heavy App Permission: EditAccounts User Permission: EditCompanyPhoneNumbers
- Throws:
RestExceptionIOException
-