Class PhoneNumbersClient
java.lang.Object
com.azure.communication.phonenumbers.PhoneNumbersClient
Synchronous client for Communication service phone number operations.
Instantiating a synchronous Phone Numbers Client
PhoneNumbersClient phoneNumberClient = new PhoneNumbersClientBuilder()
.endpoint(endpoint)
.credential(keyCredential)
.httpClient(httpClient)
.buildClient();
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<PhoneNumberOperation,PurchasePhoneNumbersResult> beginPurchasePhoneNumbers(String searchId) Starts the purchase of the phone number(s) in the search result associated with a given id.com.azure.core.util.polling.SyncPoller<PhoneNumberOperation,PurchasePhoneNumbersResult> beginPurchasePhoneNumbers(String searchId, com.azure.core.util.Context context) Starts the purchase of the phone number(s) in the search result associated with a given id.com.azure.core.util.polling.SyncPoller<PhoneNumberOperation,ReleasePhoneNumberResult> beginReleasePhoneNumber(String phoneNumber) Starts the update of capabilities for a purchased phone number.com.azure.core.util.polling.SyncPoller<PhoneNumberOperation,ReleasePhoneNumberResult> beginReleasePhoneNumber(String phoneNumber, com.azure.core.util.Context context) Starts the update of capabilities for a purchased phone number.com.azure.core.util.polling.SyncPoller<PhoneNumberOperation,PhoneNumberSearchResult> beginSearchAvailablePhoneNumbers(String countryCode, PhoneNumberType phoneNumberType, PhoneNumberAssignmentType assignmentType, PhoneNumberCapabilities capabilities) Starts the search for available phone numbers to purchase.com.azure.core.util.polling.SyncPoller<PhoneNumberOperation,PhoneNumberSearchResult> beginSearchAvailablePhoneNumbers(String countryCode, PhoneNumberType phoneNumberType, PhoneNumberAssignmentType assignmentType, PhoneNumberCapabilities capabilities, PhoneNumberSearchOptions searchOptions, com.azure.core.util.Context context) Starts the search for available phone numbers to purchase.com.azure.core.util.polling.SyncPoller<PhoneNumberOperation,PurchasedPhoneNumber> beginUpdatePhoneNumberCapabilities(String phoneNumber, PhoneNumberCapabilities capabilities) Update capabilities of a purchased phone number.com.azure.core.util.polling.SyncPoller<PhoneNumberOperation,PurchasedPhoneNumber> beginUpdatePhoneNumberCapabilities(String phoneNumber, PhoneNumberCapabilities capabilities, com.azure.core.util.Context context) Update capabilities of a purchased phone number.getPurchasedPhoneNumber(String phoneNumber) Gets information about a purchased phone number.com.azure.core.http.rest.Response<PurchasedPhoneNumber>getPurchasedPhoneNumberWithResponse(String phoneNumber, com.azure.core.util.Context context) Gets information about a purchased phone number with response.com.azure.core.http.rest.PagedIterable<PhoneNumberCountry>Gets the list of the available countries.com.azure.core.http.rest.PagedIterable<PhoneNumberCountry>listAvailableCountries(com.azure.core.util.Context context) Gets the list of the purchased phone numbers with context.com.azure.core.http.rest.PagedIterable<PhoneNumberAreaCode>listAvailableGeographicAreaCodes(String countryCode, PhoneNumberAssignmentType assignmentType, String locality, String administrativeDivision) Gets the list of the available Geographic area codes for a given country and locality.com.azure.core.http.rest.PagedIterable<PhoneNumberAreaCode>listAvailableGeographicAreaCodes(String countryCode, PhoneNumberAssignmentType assignmentType, String locality, String administrativeDivision, com.azure.core.util.Context context) Gets the list of the available Geographic area codes for a given country and locality.com.azure.core.http.rest.PagedIterable<PhoneNumberLocality>listAvailableLocalities(String countryCode, String administrativeDivision) Gets the list of the available localities.com.azure.core.http.rest.PagedIterable<PhoneNumberLocality>listAvailableLocalities(String countryCode, String administrativeDivision, com.azure.core.util.Context context) Gets the list of the available localities.com.azure.core.http.rest.PagedIterable<PhoneNumberOffering>listAvailableOfferings(String countryCode, PhoneNumberType phoneNumberType, PhoneNumberAssignmentType assignmentType) Gets the list of the available phone number offerings for the given country.com.azure.core.http.rest.PagedIterable<PhoneNumberOffering>listAvailableOfferings(String countryCode, PhoneNumberType phoneNumberType, PhoneNumberAssignmentType assignmentType, com.azure.core.util.Context context) Gets the list of the available phone number offerings for the given country.com.azure.core.http.rest.PagedIterable<PhoneNumberAreaCode>listAvailableTollFreeAreaCodes(String countryCode) Gets the list of the available Toll-Free area codes for a given country.com.azure.core.http.rest.PagedIterable<PhoneNumberAreaCode>listAvailableTollFreeAreaCodes(String countryCode, com.azure.core.util.Context context) Gets the list of the available Toll-Free area codes for a given country.com.azure.core.http.rest.PagedIterable<PurchasedPhoneNumber>Gets the list of the purchased phone numbers.com.azure.core.http.rest.PagedIterable<PurchasedPhoneNumber>listPurchasedPhoneNumbers(com.azure.core.util.Context context) Gets the list of the purchased phone numbers with context.searchOperatorInformation(List<String> phoneNumbers) Searches for operator information for a given list of phone numbers.com.azure.core.http.rest.Response<OperatorInformationResult>searchOperatorInformationWithResponse(List<String> phoneNumbers, OperatorInformationOptions requestOptions, com.azure.core.util.Context context) Searches for operator information for a given list of phone numbers.
-
Method Details
-
getPurchasedPhoneNumber
Gets information about a purchased phone number.Code Samples
PurchasedPhoneNumber phoneNumber = phoneNumberClient.getPurchasedPhoneNumber("+18001234567"); System.out.println("Phone Number Value: " + phoneNumber.getPhoneNumber()); System.out.println("Phone Number Country Code: " + phoneNumber.getCountryCode());- Parameters:
phoneNumber- The phone number id in E.164 format. The leading plus can be either + or encoded as %2B.- Returns:
PurchasedPhoneNumberrepresenting the purchased telephone number.- Throws:
NullPointerException- ifphoneNumberis null.
-
getPurchasedPhoneNumberWithResponse
public com.azure.core.http.rest.Response<PurchasedPhoneNumber> getPurchasedPhoneNumberWithResponse(String phoneNumber, com.azure.core.util.Context context) Gets information about a purchased phone number with response.Code Samples
Response<PurchasedPhoneNumber> response = phoneNumberClient .getPurchasedPhoneNumberWithResponse("+18001234567", Context.NONE); PurchasedPhoneNumber phoneNumber = response.getValue(); System.out.println("Phone Number Value: " + phoneNumber.getPhoneNumber()); System.out.println("Phone Number Country Code: " + phoneNumber.getCountryCode());- Parameters:
phoneNumber- The phone number id in E.164 format. The leading plus can be either + or encoded as %2B.context- AContextrepresenting the request context.- Returns:
PurchasedPhoneNumberrepresenting the purchased telephone number.- Throws:
NullPointerException- ifphoneNumberis null.
-
listPurchasedPhoneNumbers
Gets the list of the purchased phone numbers.Code Samples
PagedIterable<PurchasedPhoneNumber> phoneNumbers = phoneNumberClient.listPurchasedPhoneNumbers(); PurchasedPhoneNumber phoneNumber = phoneNumbers.iterator().next(); System.out.println("Phone Number Value: " + phoneNumber.getPhoneNumber()); System.out.println("Phone Number Country Code: " + phoneNumber.getCountryCode());- Returns:
- A
PagedIterableofPurchasedPhoneNumberinstances representing purchased telephone numbers.
-
listPurchasedPhoneNumbers
public com.azure.core.http.rest.PagedIterable<PurchasedPhoneNumber> listPurchasedPhoneNumbers(com.azure.core.util.Context context) Gets the list of the purchased phone numbers with context.Code Samples
PagedIterable<PurchasedPhoneNumber> phoneNumbers = phoneNumberClient.listPurchasedPhoneNumbers(Context.NONE); PurchasedPhoneNumber phoneNumber = phoneNumbers.iterator().next(); System.out.println("Phone Number Value: " + phoneNumber.getPhoneNumber()); System.out.println("Phone Number Country Code: " + phoneNumber.getCountryCode());- Parameters:
context- AContextrepresenting the request context.- Returns:
- A
PagedIterableofPurchasedPhoneNumberinstances representing purchased telephone numbers.
-
beginSearchAvailablePhoneNumbers
public com.azure.core.util.polling.SyncPoller<PhoneNumberOperation,PhoneNumberSearchResult> beginSearchAvailablePhoneNumbers(String countryCode, PhoneNumberType phoneNumberType, PhoneNumberAssignmentType assignmentType, PhoneNumberCapabilities capabilities) Starts the search for available phone numbers to purchase. This function returns a Long Running Operation poller that allows you to wait indefinitely until the operation is complete.Code Samples
PhoneNumberCapabilities capabilities = new PhoneNumberCapabilities() .setCalling(PhoneNumberCapabilityType.INBOUND) .setSms(PhoneNumberCapabilityType.INBOUND_OUTBOUND); SyncPoller<PhoneNumberOperation, PhoneNumberSearchResult> poller = phoneNumberClient .beginSearchAvailablePhoneNumbers("US", PhoneNumberType.TOLL_FREE, PhoneNumberAssignmentType.APPLICATION, capabilities); PollResponse<PhoneNumberOperation> response = poller.waitForCompletion(); String searchId = ""; if (LongRunningOperationStatus.SUCCESSFULLY_COMPLETED == response.getStatus()) { PhoneNumberSearchResult searchResult = poller.getFinalResult(); searchId = searchResult.getSearchId(); System.out.println("Searched phone numbers: " + searchResult.getPhoneNumbers()); System.out.println("Search expires by: " + searchResult.getSearchExpiresBy()); System.out.println("Phone number costs:" + searchResult.getCost().getAmount()); }- Parameters:
countryCode- The ISO 3166-2 country code.phoneNumberType-PhoneNumberTypeThe phone number type.assignmentType-PhoneNumberAssignmentTypeThe phone number assignment type.capabilities-PhoneNumberCapabilitiesThe phone number capabilities.- Returns:
- A
SyncPollerobject with the reservation result. - Throws:
NullPointerException- ifcountryCodeorsearchRequestis null.
-
beginSearchAvailablePhoneNumbers
public com.azure.core.util.polling.SyncPoller<PhoneNumberOperation,PhoneNumberSearchResult> beginSearchAvailablePhoneNumbers(String countryCode, PhoneNumberType phoneNumberType, PhoneNumberAssignmentType assignmentType, PhoneNumberCapabilities capabilities, PhoneNumberSearchOptions searchOptions, com.azure.core.util.Context context) Starts the search for available phone numbers to purchase. This function returns a Long Running Operation poller that allows you to wait indefinitely until the operation is complete.Code Samples
PhoneNumberCapabilities capabilities = new PhoneNumberCapabilities() .setCalling(PhoneNumberCapabilityType.INBOUND) .setSms(PhoneNumberCapabilityType.INBOUND_OUTBOUND); PhoneNumberSearchOptions searchOptions = new PhoneNumberSearchOptions().setAreaCode("800").setQuantity(1); SyncPoller<PhoneNumberOperation, PhoneNumberSearchResult> poller = phoneNumberClient .beginSearchAvailablePhoneNumbers("US", PhoneNumberType.TOLL_FREE, PhoneNumberAssignmentType.APPLICATION, capabilities, searchOptions, Context.NONE); PollResponse<PhoneNumberOperation> response = poller.waitForCompletion(); String searchId = ""; if (LongRunningOperationStatus.SUCCESSFULLY_COMPLETED == response.getStatus()) { PhoneNumberSearchResult searchResult = poller.getFinalResult(); searchId = searchResult.getSearchId(); System.out.println("Searched phone numbers: " + searchResult.getPhoneNumbers()); System.out.println("Search expires by: " + searchResult.getSearchExpiresBy()); System.out.println("Phone number costs:" + searchResult.getCost().getAmount()); }- Parameters:
countryCode- The ISO 3166-2 country code.phoneNumberType-PhoneNumberTypeThe phone number type.assignmentType-PhoneNumberAssignmentTypeThe phone number assignment type.capabilities-PhoneNumberCapabilitiesThe phone number capabilities.searchOptions- The phone number search options.context- AContextrepresenting the request context.- Returns:
- A
SyncPollerobject with the reservation result. - Throws:
NullPointerException- ifcountryCodeorsearchRequestis null.
-
beginPurchasePhoneNumbers
public com.azure.core.util.polling.SyncPoller<PhoneNumberOperation,PurchasePhoneNumbersResult> beginPurchasePhoneNumbers(String searchId) Starts the purchase of the phone number(s) in the search result associated with a given id. This function returns a Long Running Operation poller that allows you to wait indefinitely until the operation is complete.Code Samples
PollResponse<PhoneNumberOperation> purchaseResponse = phoneNumberClient.beginPurchasePhoneNumbers(searchId).waitForCompletion(); System.out.println("Purchase phone numbers is complete: " + purchaseResponse.getStatus());- Parameters:
searchId- ID of the search- Returns:
- A
SyncPollerobject with PurchasePhoneNumbersResult. - Throws:
NullPointerException- ifsearchIdis null.
-
beginPurchasePhoneNumbers
public com.azure.core.util.polling.SyncPoller<PhoneNumberOperation,PurchasePhoneNumbersResult> beginPurchasePhoneNumbers(String searchId, com.azure.core.util.Context context) Starts the purchase of the phone number(s) in the search result associated with a given id. This function returns a Long Running Operation poller that allows you to wait indefinitely until the operation is complete.Code Samples
PollResponse<PhoneNumberOperation> purchaseResponse = phoneNumberClient .beginPurchasePhoneNumbers(searchId, Context.NONE).waitForCompletion(); System.out.println("Purchase phone numbers is complete: " + purchaseResponse.getStatus());- Parameters:
searchId- ID of the searchcontext- AContextrepresenting the request context.- Returns:
- A
SyncPollerobject with PurchasePhoneNumbersResult. - Throws:
NullPointerException- ifsearchIdis null.
-
beginReleasePhoneNumber
public com.azure.core.util.polling.SyncPoller<PhoneNumberOperation,ReleasePhoneNumberResult> beginReleasePhoneNumber(String phoneNumber) Starts the update of capabilities for a purchased phone number. This function returns a Long Running Operation poller that allows you to wait indefinitely until the operation is complete.Code Samples
PollResponse<PhoneNumberOperation> releaseResponse = phoneNumberClient.beginReleasePhoneNumber("+18001234567").waitForCompletion(); System.out.println("Release phone number is complete: " + releaseResponse.getStatus());- Parameters:
phoneNumber- The phone number id in E.164 format. The leading plus can be either + or encoded as %2B.- Returns:
- A
SyncPollerobject with ReleasePhoneNumberResult. - Throws:
NullPointerException- ifphoneNumberis null.
-
beginReleasePhoneNumber
public com.azure.core.util.polling.SyncPoller<PhoneNumberOperation,ReleasePhoneNumberResult> beginReleasePhoneNumber(String phoneNumber, com.azure.core.util.Context context) Starts the update of capabilities for a purchased phone number. This function returns a Long Running Operation poller that allows you to wait indefinitely until the operation is complete.Code Samples
PollResponse<PhoneNumberOperation> releaseResponse = phoneNumberClient .beginReleasePhoneNumber("+18001234567", Context.NONE).waitForCompletion(); System.out.println("Release phone number is complete: " + releaseResponse.getStatus());- Parameters:
phoneNumber- The phone number id in E.164 format. The leading plus can be either + or encoded as %2B.context- AContextrepresenting the request context.- Returns:
- A
SyncPollerobject with ReleasePhoneNumberResult. - Throws:
NullPointerException- ifphoneNumberis null.
-
beginUpdatePhoneNumberCapabilities
public com.azure.core.util.polling.SyncPoller<PhoneNumberOperation,PurchasedPhoneNumber> beginUpdatePhoneNumberCapabilities(String phoneNumber, PhoneNumberCapabilities capabilities) Update capabilities of a purchased phone number. This function returns a Long Running Operation poller that allows you to wait indefinitely until the operation is complete.Code Samples
PhoneNumberCapabilities capabilities = new PhoneNumberCapabilities(); capabilities .setCalling(PhoneNumberCapabilityType.INBOUND) .setSms(PhoneNumberCapabilityType.INBOUND_OUTBOUND); SyncPoller<PhoneNumberOperation, PurchasedPhoneNumber> poller = phoneNumberClient .beginUpdatePhoneNumberCapabilities("+18001234567", capabilities); PollResponse<PhoneNumberOperation> response = poller.waitForCompletion(); if (LongRunningOperationStatus.SUCCESSFULLY_COMPLETED == response.getStatus()) { PurchasedPhoneNumber phoneNumber = poller.getFinalResult(); System.out.println("Phone Number Calling capabilities: " + phoneNumber.getCapabilities().getCalling()); System.out.println("Phone Number SMS capabilities: " + phoneNumber.getCapabilities().getSms()); }- Parameters:
phoneNumber- The phone number id in E.164 format. The leading plus can be either + or encoded as %2B.capabilities- Update capabilities of a purchased phone number.- Returns:
- A
SyncPollerobject with purchased phone number. - Throws:
NullPointerException- ifphoneNumberorcapabilitiesis null.
-
beginUpdatePhoneNumberCapabilities
public com.azure.core.util.polling.SyncPoller<PhoneNumberOperation,PurchasedPhoneNumber> beginUpdatePhoneNumberCapabilities(String phoneNumber, PhoneNumberCapabilities capabilities, com.azure.core.util.Context context) Update capabilities of a purchased phone number. This function returns a Long Running Operation poller that allows you to wait indefinitely until the operation is complete.Code Samples
PhoneNumberCapabilities capabilities = new PhoneNumberCapabilities(); capabilities .setCalling(PhoneNumberCapabilityType.INBOUND) .setSms(PhoneNumberCapabilityType.INBOUND_OUTBOUND); SyncPoller<PhoneNumberOperation, PurchasedPhoneNumber> poller = phoneNumberClient .beginUpdatePhoneNumberCapabilities("+18001234567", capabilities, Context.NONE); PollResponse<PhoneNumberOperation> response = poller.waitForCompletion(); if (LongRunningOperationStatus.SUCCESSFULLY_COMPLETED == response.getStatus()) { PurchasedPhoneNumber phoneNumber = poller.getFinalResult(); System.out.println("Phone Number Calling capabilities: " + phoneNumber.getCapabilities().getCalling()); System.out.println("Phone Number SMS capabilities: " + phoneNumber.getCapabilities().getSms()); }- Parameters:
phoneNumber- The phone number id in E.164 format. The leading plus can be either + or encoded as %2B.capabilities- Update capabilities of a purchased phone number.context- AContextrepresenting the request context.- Returns:
- A
SyncPollerobject with purchased phone number. - Throws:
NullPointerException- ifphoneNumberorcapabilitiesis null.
-
listAvailableCountries
Gets the list of the available countries.- Returns:
- A
PagedIterableofPhoneNumberCountryinstances representing available countries.
-
listAvailableCountries
public com.azure.core.http.rest.PagedIterable<PhoneNumberCountry> listAvailableCountries(com.azure.core.util.Context context) Gets the list of the purchased phone numbers with context.- Parameters:
context- AContextrepresenting the request context.- Returns:
- A
PagedIterableofPhoneNumberCountryinstances representing purchased telephone numbers.
-
listAvailableLocalities
public com.azure.core.http.rest.PagedIterable<PhoneNumberLocality> listAvailableLocalities(String countryCode, String administrativeDivision) Gets the list of the available localities. I.e. cities, towns.- Parameters:
countryCode- The ISO 3166-2 country code.administrativeDivision- An optional parameter. The name or short name of the state/province within which to list the localities.- Returns:
- A
PagedIterableofPhoneNumberLocalityinstances representing available localities with phone numbers.
-
listAvailableLocalities
public com.azure.core.http.rest.PagedIterable<PhoneNumberLocality> listAvailableLocalities(String countryCode, String administrativeDivision, com.azure.core.util.Context context) Gets the list of the available localities. I.e. cities, towns.- Parameters:
countryCode- The ISO 3166-2 country code.administrativeDivision- An optional parameter. The name or short name of the state/province within which to list the localities.context- AContextrepresenting the request context.- Returns:
- A
PagedIterableofPhoneNumberLocalityinstances representing available localities with phone numbers.
-
listAvailableTollFreeAreaCodes
public com.azure.core.http.rest.PagedIterable<PhoneNumberAreaCode> listAvailableTollFreeAreaCodes(String countryCode) Gets the list of the available Toll-Free area codes for a given country.- Parameters:
countryCode- The ISO 3166-2 country code.- Returns:
- A
PagedIterableofPhoneNumberAreaCodeinstances representing available area codes.
-
listAvailableTollFreeAreaCodes
public com.azure.core.http.rest.PagedIterable<PhoneNumberAreaCode> listAvailableTollFreeAreaCodes(String countryCode, com.azure.core.util.Context context) Gets the list of the available Toll-Free area codes for a given country.- Parameters:
countryCode- The ISO 3166-2 country code.context- AContextrepresenting the request context.- Returns:
- A
PagedIterableofPhoneNumberAreaCodeinstances representing available area codes.
-
listAvailableGeographicAreaCodes
public com.azure.core.http.rest.PagedIterable<PhoneNumberAreaCode> listAvailableGeographicAreaCodes(String countryCode, PhoneNumberAssignmentType assignmentType, String locality, String administrativeDivision) Gets the list of the available Geographic area codes for a given country and locality.- Parameters:
countryCode- The ISO 3166-2 country code.assignmentType-PhoneNumberAssignmentTypeThe phone number assignment type.locality- The name of the locality (e.g. city or town name) in which to fetch area codes.administrativeDivision- An optional parameter. The name of the administrative division (e.g. state or province) of the locality.- Returns:
- A
PagedIterableofPhoneNumberAreaCodeinstances representing purchased telephone numbers.
-
listAvailableGeographicAreaCodes
public com.azure.core.http.rest.PagedIterable<PhoneNumberAreaCode> listAvailableGeographicAreaCodes(String countryCode, PhoneNumberAssignmentType assignmentType, String locality, String administrativeDivision, com.azure.core.util.Context context) Gets the list of the available Geographic area codes for a given country and locality.- Parameters:
countryCode- The ISO 3166-2 country code.assignmentType-PhoneNumberAssignmentTypeThe phone number assignment type.locality- The name of the locality (e.g. city or town name) in which to fetch area codes.administrativeDivision- An optional parameter. The name of the administrative division (e.g. state or province) of the locality.context- AContextrepresenting the request context.- Returns:
- A
PagedIterableofPhoneNumberAreaCodeinstances representing purchased telephone numbers.
-
listAvailableOfferings
public com.azure.core.http.rest.PagedIterable<PhoneNumberOffering> listAvailableOfferings(String countryCode, PhoneNumberType phoneNumberType, PhoneNumberAssignmentType assignmentType) Gets the list of the available phone number offerings for the given country.- Parameters:
countryCode- The ISO 3166-2 country code.phoneNumberType-PhoneNumberTypeOptional parameter. Restrict the offerings to the phone number type.assignmentType-PhoneNumberAssignmentTypeOptional parameter. Restrict the offerings to the assignment type.- Returns:
- A
PagedIterableofPurchasedPhoneNumberinstances representing purchased telephone numbers.
-
listAvailableOfferings
public com.azure.core.http.rest.PagedIterable<PhoneNumberOffering> listAvailableOfferings(String countryCode, PhoneNumberType phoneNumberType, PhoneNumberAssignmentType assignmentType, com.azure.core.util.Context context) Gets the list of the available phone number offerings for the given country.- Parameters:
countryCode- The ISO 3166-2 country code.phoneNumberType-PhoneNumberTypeOptional parameter. Restrict the offerings to the phone number type.assignmentType-PhoneNumberAssignmentTypeOptional parameter. Restrict the offerings to the assignment type.context- AContextrepresenting the request context.- Returns:
- A
PagedIterableofPurchasedPhoneNumberinstances representing purchased telephone numbers.
-
searchOperatorInformation
Searches for operator information for a given list of phone numbers.- Parameters:
phoneNumbers- The phone number(s) whose operator information should be searched.- Returns:
- A
OperatorInformationResultwhich contains the results of the search.
-
searchOperatorInformationWithResponse
public com.azure.core.http.rest.Response<OperatorInformationResult> searchOperatorInformationWithResponse(List<String> phoneNumbers, OperatorInformationOptions requestOptions, com.azure.core.util.Context context) Searches for operator information for a given list of phone numbers.- Parameters:
phoneNumbers- The phone number(s) whose operator information should be searched.requestOptions- Modifies the search to include additional fields in the response. Please note: use of options will affect the cost of the search.context- AContextrepresenting the request context.- Returns:
- A
OperatorInformationResultwhich contains the results of the search.
-