Get a list of the available shared numbers that can be purchased
Namespace: Dynmark.Services.API
Assembly: Dynmark.Services.API (in Dynmark.Services.API.dll)
Syntax
| Visual Basic (Declaration) |
|---|
| Public Function GetAvailableSharedNumbers() As AvailableInboundNumberCollection |
| C# |
|---|
| public AvailableInboundNumberCollection GetAvailableSharedNumbers() |
| C++ |
|---|
| public: AvailableInboundNumberCollection GetAvailableSharedNumbers() sealed |
| J# |
|---|
| public AvailableInboundNumberCollection GetAvailableSharedNumbers() |
| JScript |
|---|
| public function GetAvailableSharedNumbers() : AvailableInboundNumberCollection |
Return Value
The list of all available numbers
Exceptions
| Exception Type | Condition |
|---|---|
| ApiConnectivityException | Thrown when there is an issue with internet connectivity. |
| ApiExecutionException | Thrown when an issue obtaining the inbound numbers. |
| ApiArgumentException | Thrown if the keyword is invalid |