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

public class Index extends Object
  • Field Details

  • Constructor Details

    • Index

      public Index(Index parent)
  • Method Details

    • path

      public String path()
    • path

      public String path(Boolean withParameter)
    • post

      public AccountPhoneNumberInfo post(ReplacePhoneNumberRequest replacePhoneNumberRequest) throws RestException, IOException
      Replaces (swaps) phone numbers from Inventory with the main, company, direct or company fax numbers. This method is used to replace temporary numbers when the porting process is complete.

      HTTP Method: post Endpoint: /restapi/v2/accounts/{accountId}/phone-numbers/{phoneNumberId}/replace Rate Limit Group: Medium App Permission: EditAccounts User Permission: EditCompanyPhoneNumbers

      Throws:
      RestException
      IOException