java.lang.Object
com.ringcentral.paths.restapi.v2.accounts.phonenumbers.bulkadd.Index

public class Index extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • path

      public String path(Boolean withParameter)
    • path

      public String 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:
      RestException
      IOException
    • 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:
      RestException
      IOException