Share via


PhoneNumberSearchRequest interface

Represents a phone number search request to find phone numbers. Found phone numbers are temporarily held for a following purchase.

Properties

areaCode

The area code of the desired phone number, e.g. 425.

assignmentType

The assignment type of the phone numbers to search for. A phone number can be assigned to a person, or to an application.

capabilities

Capabilities of a phone number.

phoneNumberType

The type of phone numbers to search for, e.g. geographic, tollFree, mobile.

quantity

The quantity of desired phone numbers. The default value is 1.

Property Details

areaCode

The area code of the desired phone number, e.g. 425.

areaCode?: string

Property Value

string

assignmentType

The assignment type of the phone numbers to search for. A phone number can be assigned to a person, or to an application.

assignmentType: PhoneNumberAssignmentType

Property Value

capabilities

Capabilities of a phone number.

capabilities: PhoneNumberCapabilities

Property Value

phoneNumberType

The type of phone numbers to search for, e.g. geographic, tollFree, mobile.

phoneNumberType: PhoneNumberType

Property Value

quantity

The quantity of desired phone numbers. The default value is 1.

quantity?: number

Property Value

number