Class PhoneControllerApi
Represents a collection of functions to interact with the API endpoints
Inherited Members
Namespace: mailslurp.Api
Assembly: mailslurp.dll
Syntax
public class PhoneControllerApi : IPhoneControllerApi, IPhoneControllerApiSync, IPhoneControllerApiAsync, IApiAccessor
Constructors
View SourcePhoneControllerApi()
Initializes a new instance of the PhoneControllerApi class.
Declaration
public PhoneControllerApi()
PhoneControllerApi(string)
Initializes a new instance of the PhoneControllerApi class.
Declaration
public PhoneControllerApi(string basePath)
Parameters
| Type | Name | Description |
|---|---|---|
| string | basePath |
PhoneControllerApi(Configuration)
Initializes a new instance of the PhoneControllerApi class using Configuration object
Declaration
public PhoneControllerApi(Configuration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| Configuration | configuration | An instance of Configuration |
PhoneControllerApi(ISynchronousClient, IAsynchronousClient, IReadableConfiguration)
Initializes a new instance of the PhoneControllerApi class using a Configuration object and client instance.
Declaration
public PhoneControllerApi(ISynchronousClient client, IAsynchronousClient asyncClient, IReadableConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| ISynchronousClient | client | The client interface for synchronous API access. |
| IAsynchronousClient | asyncClient | The client interface for asynchronous API access. |
| IReadableConfiguration | configuration | The configuration object. |
Properties
View SourceAsynchronousClient
The client for accessing this underlying API asynchronously.
Declaration
public IAsynchronousClient AsynchronousClient { get; set; }
Property Value
| Type | Description |
|---|---|
| IAsynchronousClient |
Client
The client for accessing this underlying API synchronously.
Declaration
public ISynchronousClient Client { get; set; }
Property Value
| Type | Description |
|---|---|
| ISynchronousClient |
Configuration
Gets or sets the configuration object
Declaration
public IReadableConfiguration Configuration { get; set; }
Property Value
| Type | Description |
|---|---|
| IReadableConfiguration | An instance of the Configuration |
ExceptionFactory
Provides a factory method hook for the creation of exceptions.
Declaration
public ExceptionFactory ExceptionFactory { get; set; }
Property Value
| Type | Description |
|---|---|
| ExceptionFactory |
Methods
View SourceAcquirePhonePoolLease(Guid, AcquirePhonePoolLeaseOptions, int)
Acquire phone pool lease Acquire an available phone number from the pool and mark it leased
Declaration
public PhonePoolLeaseDto AcquirePhonePoolLease(Guid poolId, AcquirePhonePoolLeaseOptions acquirePhonePoolLeaseOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | poolId | |
| AcquirePhonePoolLeaseOptions | acquirePhonePoolLeaseOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PhonePoolLeaseDto | PhonePoolLeaseDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
AcquirePhonePoolLeaseAsync(Guid, AcquirePhonePoolLeaseOptions, int, CancellationToken)
Acquire phone pool lease Acquire an available phone number from the pool and mark it leased
Declaration
public Task<PhonePoolLeaseDto> AcquirePhonePoolLeaseAsync(Guid poolId, AcquirePhonePoolLeaseOptions acquirePhonePoolLeaseOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | poolId | |
| AcquirePhonePoolLeaseOptions | acquirePhonePoolLeaseOptions | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<PhonePoolLeaseDto> | Task of PhonePoolLeaseDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
AcquirePhonePoolLeaseWithHttpInfo(Guid, AcquirePhonePoolLeaseOptions, int)
Acquire phone pool lease Acquire an available phone number from the pool and mark it leased
Declaration
public ApiResponse<PhonePoolLeaseDto> AcquirePhonePoolLeaseWithHttpInfo(Guid poolId, AcquirePhonePoolLeaseOptions acquirePhonePoolLeaseOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | poolId | |
| AcquirePhonePoolLeaseOptions | acquirePhonePoolLeaseOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PhonePoolLeaseDto> | ApiResponse of PhonePoolLeaseDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
AcquirePhonePoolLeaseWithHttpInfoAsync(Guid, AcquirePhonePoolLeaseOptions, int, CancellationToken)
Acquire phone pool lease Acquire an available phone number from the pool and mark it leased
Declaration
public Task<ApiResponse<PhonePoolLeaseDto>> AcquirePhonePoolLeaseWithHttpInfoAsync(Guid poolId, AcquirePhonePoolLeaseOptions acquirePhonePoolLeaseOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | poolId | |
| AcquirePhonePoolLeaseOptions | acquirePhonePoolLeaseOptions | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<PhonePoolLeaseDto>> | Task of ApiResponse (PhonePoolLeaseDto) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
AddAllPhoneNumbersToPhonePool(Guid, int)
Add all phone numbers to phone pool Add all active owned phone numbers to a pool
Declaration
public PhonePoolDetailDto AddAllPhoneNumbersToPhonePool(Guid poolId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | poolId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PhonePoolDetailDto | PhonePoolDetailDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
AddAllPhoneNumbersToPhonePoolAsync(Guid, int, CancellationToken)
Add all phone numbers to phone pool Add all active owned phone numbers to a pool
Declaration
public Task<PhonePoolDetailDto> AddAllPhoneNumbersToPhonePoolAsync(Guid poolId, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | poolId | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<PhonePoolDetailDto> | Task of PhonePoolDetailDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
AddAllPhoneNumbersToPhonePoolWithHttpInfo(Guid, int)
Add all phone numbers to phone pool Add all active owned phone numbers to a pool
Declaration
public ApiResponse<PhonePoolDetailDto> AddAllPhoneNumbersToPhonePoolWithHttpInfo(Guid poolId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | poolId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PhonePoolDetailDto> | ApiResponse of PhonePoolDetailDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
AddAllPhoneNumbersToPhonePoolWithHttpInfoAsync(Guid, int, CancellationToken)
Add all phone numbers to phone pool Add all active owned phone numbers to a pool
Declaration
public Task<ApiResponse<PhonePoolDetailDto>> AddAllPhoneNumbersToPhonePoolWithHttpInfoAsync(Guid poolId, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | poolId | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<PhonePoolDetailDto>> | Task of ApiResponse (PhonePoolDetailDto) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
AddPhoneNumbersToPhonePool(Guid, AddPhonePoolNumbersOptions, int)
Add phone numbers to phone pool Add one or more owned phone numbers to a pool
Declaration
public PhonePoolDetailDto AddPhoneNumbersToPhonePool(Guid poolId, AddPhonePoolNumbersOptions addPhonePoolNumbersOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | poolId | |
| AddPhonePoolNumbersOptions | addPhonePoolNumbersOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PhonePoolDetailDto | PhonePoolDetailDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
AddPhoneNumbersToPhonePoolAsync(Guid, AddPhonePoolNumbersOptions, int, CancellationToken)
Add phone numbers to phone pool Add one or more owned phone numbers to a pool
Declaration
public Task<PhonePoolDetailDto> AddPhoneNumbersToPhonePoolAsync(Guid poolId, AddPhonePoolNumbersOptions addPhonePoolNumbersOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | poolId | |
| AddPhonePoolNumbersOptions | addPhonePoolNumbersOptions | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<PhonePoolDetailDto> | Task of PhonePoolDetailDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
AddPhoneNumbersToPhonePoolWithHttpInfo(Guid, AddPhonePoolNumbersOptions, int)
Add phone numbers to phone pool Add one or more owned phone numbers to a pool
Declaration
public ApiResponse<PhonePoolDetailDto> AddPhoneNumbersToPhonePoolWithHttpInfo(Guid poolId, AddPhonePoolNumbersOptions addPhonePoolNumbersOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | poolId | |
| AddPhonePoolNumbersOptions | addPhonePoolNumbersOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PhonePoolDetailDto> | ApiResponse of PhonePoolDetailDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
AddPhoneNumbersToPhonePoolWithHttpInfoAsync(Guid, AddPhonePoolNumbersOptions, int, CancellationToken)
Add phone numbers to phone pool Add one or more owned phone numbers to a pool
Declaration
public Task<ApiResponse<PhonePoolDetailDto>> AddPhoneNumbersToPhonePoolWithHttpInfoAsync(Guid poolId, AddPhonePoolNumbersOptions addPhonePoolNumbersOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | poolId | |
| AddPhonePoolNumbersOptions | addPhonePoolNumbersOptions | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<PhonePoolDetailDto>> | Task of ApiResponse (PhonePoolDetailDto) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
CreateEmergencyAddress(CreateEmergencyAddressOptions, int)
Create an emergency address Add an emergency address to a phone number
Declaration
public EmergencyAddress CreateEmergencyAddress(CreateEmergencyAddressOptions createEmergencyAddressOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateEmergencyAddressOptions | createEmergencyAddressOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| EmergencyAddress | EmergencyAddress |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
CreateEmergencyAddressAsync(CreateEmergencyAddressOptions, int, CancellationToken)
Create an emergency address Add an emergency address to a phone number
Declaration
public Task<EmergencyAddress> CreateEmergencyAddressAsync(CreateEmergencyAddressOptions createEmergencyAddressOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateEmergencyAddressOptions | createEmergencyAddressOptions | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<EmergencyAddress> | Task of EmergencyAddress |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
CreateEmergencyAddressWithHttpInfo(CreateEmergencyAddressOptions, int)
Create an emergency address Add an emergency address to a phone number
Declaration
public ApiResponse<EmergencyAddress> CreateEmergencyAddressWithHttpInfo(CreateEmergencyAddressOptions createEmergencyAddressOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateEmergencyAddressOptions | createEmergencyAddressOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<EmergencyAddress> | ApiResponse of EmergencyAddress |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
CreateEmergencyAddressWithHttpInfoAsync(CreateEmergencyAddressOptions, int, CancellationToken)
Create an emergency address Add an emergency address to a phone number
Declaration
public Task<ApiResponse<EmergencyAddress>> CreateEmergencyAddressWithHttpInfoAsync(CreateEmergencyAddressOptions createEmergencyAddressOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateEmergencyAddressOptions | createEmergencyAddressOptions | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<EmergencyAddress>> | Task of ApiResponse (EmergencyAddress) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
CreatePhoneNumber(CreatePhoneNumberOptions, int)
Add phone number to your account. Only works if you have already added a plan and an initial phone number in your account and acknowledged the pricing and terms of service by enabling API phone creation. Create new phone number
Declaration
public PhoneNumberDto CreatePhoneNumber(CreatePhoneNumberOptions createPhoneNumberOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| CreatePhoneNumberOptions | createPhoneNumberOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PhoneNumberDto | PhoneNumberDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
CreatePhoneNumberAsync(CreatePhoneNumberOptions, int, CancellationToken)
Add phone number to your account. Only works if you have already added a plan and an initial phone number in your account and acknowledged the pricing and terms of service by enabling API phone creation. Create new phone number
Declaration
public Task<PhoneNumberDto> CreatePhoneNumberAsync(CreatePhoneNumberOptions createPhoneNumberOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CreatePhoneNumberOptions | createPhoneNumberOptions | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<PhoneNumberDto> | Task of PhoneNumberDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
CreatePhoneNumberWithHttpInfo(CreatePhoneNumberOptions, int)
Add phone number to your account. Only works if you have already added a plan and an initial phone number in your account and acknowledged the pricing and terms of service by enabling API phone creation. Create new phone number
Declaration
public ApiResponse<PhoneNumberDto> CreatePhoneNumberWithHttpInfo(CreatePhoneNumberOptions createPhoneNumberOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| CreatePhoneNumberOptions | createPhoneNumberOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PhoneNumberDto> | ApiResponse of PhoneNumberDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
CreatePhoneNumberWithHttpInfoAsync(CreatePhoneNumberOptions, int, CancellationToken)
Add phone number to your account. Only works if you have already added a plan and an initial phone number in your account and acknowledged the pricing and terms of service by enabling API phone creation. Create new phone number
Declaration
public Task<ApiResponse<PhoneNumberDto>> CreatePhoneNumberWithHttpInfoAsync(CreatePhoneNumberOptions createPhoneNumberOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CreatePhoneNumberOptions | createPhoneNumberOptions | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<PhoneNumberDto>> | Task of ApiResponse (PhoneNumberDto) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
CreatePhonePool(CreatePhonePoolOptions, int)
Create phone pool Create a reusable pool of phone numbers for coordinated leasing
Declaration
public PhonePoolDetailDto CreatePhonePool(CreatePhonePoolOptions createPhonePoolOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| CreatePhonePoolOptions | createPhonePoolOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PhonePoolDetailDto | PhonePoolDetailDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
CreatePhonePoolAsync(CreatePhonePoolOptions, int, CancellationToken)
Create phone pool Create a reusable pool of phone numbers for coordinated leasing
Declaration
public Task<PhonePoolDetailDto> CreatePhonePoolAsync(CreatePhonePoolOptions createPhonePoolOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CreatePhonePoolOptions | createPhonePoolOptions | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<PhonePoolDetailDto> | Task of PhonePoolDetailDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
CreatePhonePoolWithHttpInfo(CreatePhonePoolOptions, int)
Create phone pool Create a reusable pool of phone numbers for coordinated leasing
Declaration
public ApiResponse<PhonePoolDetailDto> CreatePhonePoolWithHttpInfo(CreatePhonePoolOptions createPhonePoolOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| CreatePhonePoolOptions | createPhonePoolOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PhonePoolDetailDto> | ApiResponse of PhonePoolDetailDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
CreatePhonePoolWithHttpInfoAsync(CreatePhonePoolOptions, int, CancellationToken)
Create phone pool Create a reusable pool of phone numbers for coordinated leasing
Declaration
public Task<ApiResponse<PhonePoolDetailDto>> CreatePhonePoolWithHttpInfoAsync(CreatePhonePoolOptions createPhonePoolOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CreatePhonePoolOptions | createPhonePoolOptions | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<PhonePoolDetailDto>> | Task of ApiResponse (PhonePoolDetailDto) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
CreatePhoneProvisioningJob(CreatePhoneProvisioningJobOptions, int)
Create a phone provisioning job Create an advanced phone provisioning job from shortlisted numbers
Declaration
public PhoneProvisioningJobDto CreatePhoneProvisioningJob(CreatePhoneProvisioningJobOptions createPhoneProvisioningJobOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| CreatePhoneProvisioningJobOptions | createPhoneProvisioningJobOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PhoneProvisioningJobDto | PhoneProvisioningJobDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
CreatePhoneProvisioningJobAsync(CreatePhoneProvisioningJobOptions, int, CancellationToken)
Create a phone provisioning job Create an advanced phone provisioning job from shortlisted numbers
Declaration
public Task<PhoneProvisioningJobDto> CreatePhoneProvisioningJobAsync(CreatePhoneProvisioningJobOptions createPhoneProvisioningJobOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CreatePhoneProvisioningJobOptions | createPhoneProvisioningJobOptions | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<PhoneProvisioningJobDto> | Task of PhoneProvisioningJobDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
CreatePhoneProvisioningJobWithHttpInfo(CreatePhoneProvisioningJobOptions, int)
Create a phone provisioning job Create an advanced phone provisioning job from shortlisted numbers
Declaration
public ApiResponse<PhoneProvisioningJobDto> CreatePhoneProvisioningJobWithHttpInfo(CreatePhoneProvisioningJobOptions createPhoneProvisioningJobOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| CreatePhoneProvisioningJobOptions | createPhoneProvisioningJobOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PhoneProvisioningJobDto> | ApiResponse of PhoneProvisioningJobDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
CreatePhoneProvisioningJobWithHttpInfoAsync(CreatePhoneProvisioningJobOptions, int, CancellationToken)
Create a phone provisioning job Create an advanced phone provisioning job from shortlisted numbers
Declaration
public Task<ApiResponse<PhoneProvisioningJobDto>> CreatePhoneProvisioningJobWithHttpInfoAsync(CreatePhoneProvisioningJobOptions createPhoneProvisioningJobOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CreatePhoneProvisioningJobOptions | createPhoneProvisioningJobOptions | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<PhoneProvisioningJobDto>> | Task of ApiResponse (PhoneProvisioningJobDto) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
DeleteAllPhoneNumber(int)
Delete all phone numbers Remove all phone number from account
Declaration
public void DeleteAllPhoneNumber(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
DeleteAllPhoneNumberAsync(int, CancellationToken)
Delete all phone numbers Remove all phone number from account
Declaration
public Task DeleteAllPhoneNumberAsync(int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task | Task of void |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
DeleteAllPhoneNumberWithHttpInfo(int)
Delete all phone numbers Remove all phone number from account
Declaration
public ApiResponse<object> DeleteAllPhoneNumberWithHttpInfo(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<object> | ApiResponse of Object(void) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
DeleteAllPhoneNumberWithHttpInfoAsync(int, CancellationToken)
Delete all phone numbers Remove all phone number from account
Declaration
public Task<ApiResponse<object>> DeleteAllPhoneNumberWithHttpInfoAsync(int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<object>> | Task of ApiResponse |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
DeleteEmergencyAddress(Guid, int)
Delete an emergency address Delete an emergency address
Declaration
public EmptyResponseDto DeleteEmergencyAddress(Guid addressId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | addressId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| EmptyResponseDto | EmptyResponseDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
DeleteEmergencyAddressAsync(Guid, int, CancellationToken)
Delete an emergency address Delete an emergency address
Declaration
public Task<EmptyResponseDto> DeleteEmergencyAddressAsync(Guid addressId, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | addressId | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<EmptyResponseDto> | Task of EmptyResponseDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
DeleteEmergencyAddressWithHttpInfo(Guid, int)
Delete an emergency address Delete an emergency address
Declaration
public ApiResponse<EmptyResponseDto> DeleteEmergencyAddressWithHttpInfo(Guid addressId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | addressId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<EmptyResponseDto> | ApiResponse of EmptyResponseDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
DeleteEmergencyAddressWithHttpInfoAsync(Guid, int, CancellationToken)
Delete an emergency address Delete an emergency address
Declaration
public Task<ApiResponse<EmptyResponseDto>> DeleteEmergencyAddressWithHttpInfoAsync(Guid addressId, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | addressId | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<EmptyResponseDto>> | Task of ApiResponse (EmptyResponseDto) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
DeletePhoneMessageThreadItems(Guid, string, int)
Delete messages in a phone thread Delete all messages in an SMS thread
Declaration
public EmptyResponseDto DeletePhoneMessageThreadItems(Guid phoneNumberId, string otherNumber, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| string | otherNumber | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| EmptyResponseDto | EmptyResponseDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
DeletePhoneMessageThreadItemsAsync(Guid, string, int, CancellationToken)
Delete messages in a phone thread Delete all messages in an SMS thread
Declaration
public Task<EmptyResponseDto> DeletePhoneMessageThreadItemsAsync(Guid phoneNumberId, string otherNumber, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| string | otherNumber | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<EmptyResponseDto> | Task of EmptyResponseDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
DeletePhoneMessageThreadItemsWithHttpInfo(Guid, string, int)
Delete messages in a phone thread Delete all messages in an SMS thread
Declaration
public ApiResponse<EmptyResponseDto> DeletePhoneMessageThreadItemsWithHttpInfo(Guid phoneNumberId, string otherNumber, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| string | otherNumber | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<EmptyResponseDto> | ApiResponse of EmptyResponseDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
DeletePhoneMessageThreadItemsWithHttpInfoAsync(Guid, string, int, CancellationToken)
Delete messages in a phone thread Delete all messages in an SMS thread
Declaration
public Task<ApiResponse<EmptyResponseDto>> DeletePhoneMessageThreadItemsWithHttpInfoAsync(Guid phoneNumberId, string otherNumber, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| string | otherNumber | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<EmptyResponseDto>> | Task of ApiResponse (EmptyResponseDto) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
DeletePhoneNumber(Guid, int)
Delete a phone number Remove phone number from account
Declaration
public void DeletePhoneNumber(Guid phoneNumberId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| int | operationIndex | Index associated with the operation. |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
DeletePhoneNumberAsync(Guid, int, CancellationToken)
Delete a phone number Remove phone number from account
Declaration
public Task DeletePhoneNumberAsync(Guid phoneNumberId, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task | Task of void |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
DeletePhoneNumberWithHttpInfo(Guid, int)
Delete a phone number Remove phone number from account
Declaration
public ApiResponse<object> DeletePhoneNumberWithHttpInfo(Guid phoneNumberId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<object> | ApiResponse of Object(void) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
DeletePhoneNumberWithHttpInfoAsync(Guid, int, CancellationToken)
Delete a phone number Remove phone number from account
Declaration
public Task<ApiResponse<object>> DeletePhoneNumberWithHttpInfoAsync(Guid phoneNumberId, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<object>> | Task of ApiResponse |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
DeletePhonePool(Guid, int)
Delete phone pool Delete a phone pool and release any active leases from that pool
Declaration
public void DeletePhonePool(Guid poolId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | poolId | |
| int | operationIndex | Index associated with the operation. |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
DeletePhonePoolAsync(Guid, int, CancellationToken)
Delete phone pool Delete a phone pool and release any active leases from that pool
Declaration
public Task DeletePhonePoolAsync(Guid poolId, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | poolId | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task | Task of void |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
DeletePhonePoolWithHttpInfo(Guid, int)
Delete phone pool Delete a phone pool and release any active leases from that pool
Declaration
public ApiResponse<object> DeletePhonePoolWithHttpInfo(Guid poolId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | poolId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<object> | ApiResponse of Object(void) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
DeletePhonePoolWithHttpInfoAsync(Guid, int, CancellationToken)
Delete phone pool Delete a phone pool and release any active leases from that pool
Declaration
public Task<ApiResponse<object>> DeletePhonePoolWithHttpInfoAsync(Guid poolId, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | poolId | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<object>> | Task of ApiResponse |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetAllPhoneMessageThreads(int?, int?, int)
Get the latest messages for all phones List all message threads for all phones
Declaration
public PagePhoneMessageThreadProjection GetAllPhoneMessageThreads(int? page = null, int? size = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int? | page | (optional, default to 0) |
| int? | size | (optional, default to 20) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PagePhoneMessageThreadProjection | PagePhoneMessageThreadProjection |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetAllPhoneMessageThreadsAsync(int?, int?, int, CancellationToken)
Get the latest messages for all phones List all message threads for all phones
Declaration
public Task<PagePhoneMessageThreadProjection> GetAllPhoneMessageThreadsAsync(int? page = null, int? size = null, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| int? | page | (optional, default to 0) |
| int? | size | (optional, default to 20) |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<PagePhoneMessageThreadProjection> | Task of PagePhoneMessageThreadProjection |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetAllPhoneMessageThreadsWithHttpInfo(int?, int?, int)
Get the latest messages for all phones List all message threads for all phones
Declaration
public ApiResponse<PagePhoneMessageThreadProjection> GetAllPhoneMessageThreadsWithHttpInfo(int? page = null, int? size = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int? | page | (optional, default to 0) |
| int? | size | (optional, default to 20) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PagePhoneMessageThreadProjection> | ApiResponse of PagePhoneMessageThreadProjection |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetAllPhoneMessageThreadsWithHttpInfoAsync(int?, int?, int, CancellationToken)
Get the latest messages for all phones List all message threads for all phones
Declaration
public Task<ApiResponse<PagePhoneMessageThreadProjection>> GetAllPhoneMessageThreadsWithHttpInfoAsync(int? page = null, int? size = null, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| int? | page | (optional, default to 0) |
| int? | size | (optional, default to 20) |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<PagePhoneMessageThreadProjection>> | Task of ApiResponse (PagePhoneMessageThreadProjection) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetAllPhoneNumberReleases(int?, int?, string, int)
Get all phone number releases List released or deleted phone numbers
Declaration
public PagePhoneNumberReleaseProjection GetAllPhoneNumberReleases(int? page = null, int? size = null, string sort = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int? | page | (optional, default to 0) |
| int? | size | (optional, default to 20) |
| string | sort | Optional createdAt sort direction ASC or DESC (optional, default to DESC) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PagePhoneNumberReleaseProjection | PagePhoneNumberReleaseProjection |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetAllPhoneNumberReleasesAsync(int?, int?, string, int, CancellationToken)
Get all phone number releases List released or deleted phone numbers
Declaration
public Task<PagePhoneNumberReleaseProjection> GetAllPhoneNumberReleasesAsync(int? page = null, int? size = null, string sort = null, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| int? | page | (optional, default to 0) |
| int? | size | (optional, default to 20) |
| string | sort | Optional createdAt sort direction ASC or DESC (optional, default to DESC) |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<PagePhoneNumberReleaseProjection> | Task of PagePhoneNumberReleaseProjection |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetAllPhoneNumberReleasesWithHttpInfo(int?, int?, string, int)
Get all phone number releases List released or deleted phone numbers
Declaration
public ApiResponse<PagePhoneNumberReleaseProjection> GetAllPhoneNumberReleasesWithHttpInfo(int? page = null, int? size = null, string sort = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int? | page | (optional, default to 0) |
| int? | size | (optional, default to 20) |
| string | sort | Optional createdAt sort direction ASC or DESC (optional, default to DESC) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PagePhoneNumberReleaseProjection> | ApiResponse of PagePhoneNumberReleaseProjection |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetAllPhoneNumberReleasesWithHttpInfoAsync(int?, int?, string, int, CancellationToken)
Get all phone number releases List released or deleted phone numbers
Declaration
public Task<ApiResponse<PagePhoneNumberReleaseProjection>> GetAllPhoneNumberReleasesWithHttpInfoAsync(int? page = null, int? size = null, string sort = null, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| int? | page | (optional, default to 0) |
| int? | size | (optional, default to 20) |
| string | sort | Optional createdAt sort direction ASC or DESC (optional, default to DESC) |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<PagePhoneNumberReleaseProjection>> | Task of ApiResponse (PagePhoneNumberReleaseProjection) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetBasePath()
Gets the base path of the API client.
Declaration
public string GetBasePath()
Returns
| Type | Description |
|---|---|
| string | The base path |
GetConsentStatus(int)
Get consent status Get the status of phone usage consent
Declaration
public ConsentStatusDto GetConsentStatus(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ConsentStatusDto | ConsentStatusDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetConsentStatusAsync(int, CancellationToken)
Get consent status Get the status of phone usage consent
Declaration
public Task<ConsentStatusDto> GetConsentStatusAsync(int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ConsentStatusDto> | Task of ConsentStatusDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetConsentStatusWithHttpInfo(int)
Get consent status Get the status of phone usage consent
Declaration
public ApiResponse<ConsentStatusDto> GetConsentStatusWithHttpInfo(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<ConsentStatusDto> | ApiResponse of ConsentStatusDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetConsentStatusWithHttpInfoAsync(int, CancellationToken)
Get consent status Get the status of phone usage consent
Declaration
public Task<ApiResponse<ConsentStatusDto>> GetConsentStatusWithHttpInfoAsync(int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<ConsentStatusDto>> | Task of ApiResponse (ConsentStatusDto) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetEmergencyAddress(Guid, int)
Get an emergency address Fetch an emergency address by ID
Declaration
public EmergencyAddress GetEmergencyAddress(Guid addressId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | addressId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| EmergencyAddress | EmergencyAddress |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetEmergencyAddressAsync(Guid, int, CancellationToken)
Get an emergency address Fetch an emergency address by ID
Declaration
public Task<EmergencyAddress> GetEmergencyAddressAsync(Guid addressId, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | addressId | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<EmergencyAddress> | Task of EmergencyAddress |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetEmergencyAddressWithHttpInfo(Guid, int)
Get an emergency address Fetch an emergency address by ID
Declaration
public ApiResponse<EmergencyAddress> GetEmergencyAddressWithHttpInfo(Guid addressId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | addressId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<EmergencyAddress> | ApiResponse of EmergencyAddress |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetEmergencyAddressWithHttpInfoAsync(Guid, int, CancellationToken)
Get an emergency address Fetch an emergency address by ID
Declaration
public Task<ApiResponse<EmergencyAddress>> GetEmergencyAddressWithHttpInfoAsync(Guid addressId, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | addressId | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<EmergencyAddress>> | Task of ApiResponse (EmergencyAddress) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetEmergencyAddresses(int)
Get emergency addresses List emergency addresses
Declaration
public List<EmergencyAddressDto> GetEmergencyAddresses(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| List<EmergencyAddressDto> | List<EmergencyAddressDto> |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetEmergencyAddressesAsync(int, CancellationToken)
Get emergency addresses List emergency addresses
Declaration
public Task<List<EmergencyAddressDto>> GetEmergencyAddressesAsync(int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<List<EmergencyAddressDto>> | Task of List<EmergencyAddressDto> |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetEmergencyAddressesWithHttpInfo(int)
Get emergency addresses List emergency addresses
Declaration
public ApiResponse<List<EmergencyAddressDto>> GetEmergencyAddressesWithHttpInfo(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<List<EmergencyAddressDto>> | ApiResponse of List<EmergencyAddressDto> |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetEmergencyAddressesWithHttpInfoAsync(int, CancellationToken)
Get emergency addresses List emergency addresses
Declaration
public Task<ApiResponse<List<EmergencyAddressDto>>> GetEmergencyAddressesWithHttpInfoAsync(int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<List<EmergencyAddressDto>>> | Task of ApiResponse (List<EmergencyAddressDto>) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetOrCreatePhonePool(GetOrCreatePhonePoolOptions, int)
Get or create phone pool Get a phone pool by name or create it if it does not exist
Declaration
public PhonePoolDetailDto GetOrCreatePhonePool(GetOrCreatePhonePoolOptions getOrCreatePhonePoolOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| GetOrCreatePhonePoolOptions | getOrCreatePhonePoolOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PhonePoolDetailDto | PhonePoolDetailDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetOrCreatePhonePoolAsync(GetOrCreatePhonePoolOptions, int, CancellationToken)
Get or create phone pool Get a phone pool by name or create it if it does not exist
Declaration
public Task<PhonePoolDetailDto> GetOrCreatePhonePoolAsync(GetOrCreatePhonePoolOptions getOrCreatePhonePoolOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| GetOrCreatePhonePoolOptions | getOrCreatePhonePoolOptions | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<PhonePoolDetailDto> | Task of PhonePoolDetailDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetOrCreatePhonePoolWithHttpInfo(GetOrCreatePhonePoolOptions, int)
Get or create phone pool Get a phone pool by name or create it if it does not exist
Declaration
public ApiResponse<PhonePoolDetailDto> GetOrCreatePhonePoolWithHttpInfo(GetOrCreatePhonePoolOptions getOrCreatePhonePoolOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| GetOrCreatePhonePoolOptions | getOrCreatePhonePoolOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PhonePoolDetailDto> | ApiResponse of PhonePoolDetailDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetOrCreatePhonePoolWithHttpInfoAsync(GetOrCreatePhonePoolOptions, int, CancellationToken)
Get or create phone pool Get a phone pool by name or create it if it does not exist
Declaration
public Task<ApiResponse<PhonePoolDetailDto>> GetOrCreatePhonePoolWithHttpInfoAsync(GetOrCreatePhonePoolOptions getOrCreatePhonePoolOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| GetOrCreatePhonePoolOptions | getOrCreatePhonePoolOptions | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<PhonePoolDetailDto>> | Task of ApiResponse (PhonePoolDetailDto) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneMessageThreadItems(Guid, string, int?, int?, int)
Get messages in a phone thread List message thread messages for a phone message thread
Declaration
public PagePhoneMessageThreadItemProjection GetPhoneMessageThreadItems(Guid phoneNumberId, string otherNumber, int? page = null, int? size = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| string | otherNumber | |
| int? | page | (optional, default to 0) |
| int? | size | (optional, default to 20) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PagePhoneMessageThreadItemProjection | PagePhoneMessageThreadItemProjection |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneMessageThreadItemsAsync(Guid, string, int?, int?, int, CancellationToken)
Get messages in a phone thread List message thread messages for a phone message thread
Declaration
public Task<PagePhoneMessageThreadItemProjection> GetPhoneMessageThreadItemsAsync(Guid phoneNumberId, string otherNumber, int? page = null, int? size = null, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| string | otherNumber | |
| int? | page | (optional, default to 0) |
| int? | size | (optional, default to 20) |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<PagePhoneMessageThreadItemProjection> | Task of PagePhoneMessageThreadItemProjection |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneMessageThreadItemsWithHttpInfo(Guid, string, int?, int?, int)
Get messages in a phone thread List message thread messages for a phone message thread
Declaration
public ApiResponse<PagePhoneMessageThreadItemProjection> GetPhoneMessageThreadItemsWithHttpInfo(Guid phoneNumberId, string otherNumber, int? page = null, int? size = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| string | otherNumber | |
| int? | page | (optional, default to 0) |
| int? | size | (optional, default to 20) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PagePhoneMessageThreadItemProjection> | ApiResponse of PagePhoneMessageThreadItemProjection |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneMessageThreadItemsWithHttpInfoAsync(Guid, string, int?, int?, int, CancellationToken)
Get messages in a phone thread List message thread messages for a phone message thread
Declaration
public Task<ApiResponse<PagePhoneMessageThreadItemProjection>> GetPhoneMessageThreadItemsWithHttpInfoAsync(Guid phoneNumberId, string otherNumber, int? page = null, int? size = null, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| string | otherNumber | |
| int? | page | (optional, default to 0) |
| int? | size | (optional, default to 20) |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<PagePhoneMessageThreadItemProjection>> | Task of ApiResponse (PagePhoneMessageThreadItemProjection) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneMessageThreads(Guid, int?, int?, int)
Get the latest message preview for a thread List message threads for a phone
Declaration
public PagePhoneMessageThreadProjection GetPhoneMessageThreads(Guid phoneNumberId, int? page = null, int? size = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| int? | page | (optional, default to 0) |
| int? | size | (optional, default to 20) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PagePhoneMessageThreadProjection | PagePhoneMessageThreadProjection |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneMessageThreadsAsync(Guid, int?, int?, int, CancellationToken)
Get the latest message preview for a thread List message threads for a phone
Declaration
public Task<PagePhoneMessageThreadProjection> GetPhoneMessageThreadsAsync(Guid phoneNumberId, int? page = null, int? size = null, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| int? | page | (optional, default to 0) |
| int? | size | (optional, default to 20) |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<PagePhoneMessageThreadProjection> | Task of PagePhoneMessageThreadProjection |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneMessageThreadsWithHttpInfo(Guid, int?, int?, int)
Get the latest message preview for a thread List message threads for a phone
Declaration
public ApiResponse<PagePhoneMessageThreadProjection> GetPhoneMessageThreadsWithHttpInfo(Guid phoneNumberId, int? page = null, int? size = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| int? | page | (optional, default to 0) |
| int? | size | (optional, default to 20) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PagePhoneMessageThreadProjection> | ApiResponse of PagePhoneMessageThreadProjection |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneMessageThreadsWithHttpInfoAsync(Guid, int?, int?, int, CancellationToken)
Get the latest message preview for a thread List message threads for a phone
Declaration
public Task<ApiResponse<PagePhoneMessageThreadProjection>> GetPhoneMessageThreadsWithHttpInfoAsync(Guid phoneNumberId, int? page = null, int? size = null, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| int? | page | (optional, default to 0) |
| int? | size | (optional, default to 20) |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<PagePhoneMessageThreadProjection>> | Task of ApiResponse (PagePhoneMessageThreadProjection) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneNumber(Guid, int)
Get a phone number by ID Get a phone number by ID
Declaration
public PhoneNumberDto GetPhoneNumber(Guid phoneNumberId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PhoneNumberDto | PhoneNumberDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneNumberAsync(Guid, int, CancellationToken)
Get a phone number by ID Get a phone number by ID
Declaration
public Task<PhoneNumberDto> GetPhoneNumberAsync(Guid phoneNumberId, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<PhoneNumberDto> | Task of PhoneNumberDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneNumberByName(string, int)
Get a phone number by name Get a phone number by name
Declaration
public PhoneNumberDto GetPhoneNumberByName(string name, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PhoneNumberDto | PhoneNumberDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneNumberByNameAsync(string, int, CancellationToken)
Get a phone number by name Get a phone number by name
Declaration
public Task<PhoneNumberDto> GetPhoneNumberByNameAsync(string name, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<PhoneNumberDto> | Task of PhoneNumberDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneNumberByNameWithHttpInfo(string, int)
Get a phone number by name Get a phone number by name
Declaration
public ApiResponse<PhoneNumberDto> GetPhoneNumberByNameWithHttpInfo(string name, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PhoneNumberDto> | ApiResponse of PhoneNumberDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneNumberByNameWithHttpInfoAsync(string, int, CancellationToken)
Get a phone number by name Get a phone number by name
Declaration
public Task<ApiResponse<PhoneNumberDto>> GetPhoneNumberByNameWithHttpInfoAsync(string name, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<PhoneNumberDto>> | Task of ApiResponse (PhoneNumberDto) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneNumberByPhoneNumber(string, int)
Get a phone number by phone number Get a phone number by phone number
Declaration
public PhoneNumberDto GetPhoneNumberByPhoneNumber(string phoneNumber, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| string | phoneNumber | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PhoneNumberDto | PhoneNumberDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneNumberByPhoneNumberAsync(string, int, CancellationToken)
Get a phone number by phone number Get a phone number by phone number
Declaration
public Task<PhoneNumberDto> GetPhoneNumberByPhoneNumberAsync(string phoneNumber, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| string | phoneNumber | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<PhoneNumberDto> | Task of PhoneNumberDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneNumberByPhoneNumberWithHttpInfo(string, int)
Get a phone number by phone number Get a phone number by phone number
Declaration
public ApiResponse<PhoneNumberDto> GetPhoneNumberByPhoneNumberWithHttpInfo(string phoneNumber, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| string | phoneNumber | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PhoneNumberDto> | ApiResponse of PhoneNumberDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneNumberByPhoneNumberWithHttpInfoAsync(string, int, CancellationToken)
Get a phone number by phone number Get a phone number by phone number
Declaration
public Task<ApiResponse<PhoneNumberDto>> GetPhoneNumberByPhoneNumberWithHttpInfoAsync(string phoneNumber, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| string | phoneNumber | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<PhoneNumberDto>> | Task of ApiResponse (PhoneNumberDto) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneNumberLineTypeIntelligence(ValidatePhoneNumberOptions, int)
Get line type intelligence for a phone number Lookup line type intelligence for a phone number
Declaration
public PhoneNumberLineTypeLookupDto GetPhoneNumberLineTypeIntelligence(ValidatePhoneNumberOptions validatePhoneNumberOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| ValidatePhoneNumberOptions | validatePhoneNumberOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PhoneNumberLineTypeLookupDto | PhoneNumberLineTypeLookupDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneNumberLineTypeIntelligenceAsync(ValidatePhoneNumberOptions, int, CancellationToken)
Get line type intelligence for a phone number Lookup line type intelligence for a phone number
Declaration
public Task<PhoneNumberLineTypeLookupDto> GetPhoneNumberLineTypeIntelligenceAsync(ValidatePhoneNumberOptions validatePhoneNumberOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| ValidatePhoneNumberOptions | validatePhoneNumberOptions | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<PhoneNumberLineTypeLookupDto> | Task of PhoneNumberLineTypeLookupDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneNumberLineTypeIntelligenceWithHttpInfo(ValidatePhoneNumberOptions, int)
Get line type intelligence for a phone number Lookup line type intelligence for a phone number
Declaration
public ApiResponse<PhoneNumberLineTypeLookupDto> GetPhoneNumberLineTypeIntelligenceWithHttpInfo(ValidatePhoneNumberOptions validatePhoneNumberOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| ValidatePhoneNumberOptions | validatePhoneNumberOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PhoneNumberLineTypeLookupDto> | ApiResponse of PhoneNumberLineTypeLookupDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneNumberLineTypeIntelligenceWithHttpInfoAsync(ValidatePhoneNumberOptions, int, CancellationToken)
Get line type intelligence for a phone number Lookup line type intelligence for a phone number
Declaration
public Task<ApiResponse<PhoneNumberLineTypeLookupDto>> GetPhoneNumberLineTypeIntelligenceWithHttpInfoAsync(ValidatePhoneNumberOptions validatePhoneNumberOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| ValidatePhoneNumberOptions | validatePhoneNumberOptions | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<PhoneNumberLineTypeLookupDto>> | Task of ApiResponse (PhoneNumberLineTypeLookupDto) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneNumberRelease(Guid, int)
Get phone number release Get a released or deleted phone numbers
Declaration
public PhoneNumberReleaseProjection GetPhoneNumberRelease(Guid releaseId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | releaseId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PhoneNumberReleaseProjection | PhoneNumberReleaseProjection |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneNumberReleaseAsync(Guid, int, CancellationToken)
Get phone number release Get a released or deleted phone numbers
Declaration
public Task<PhoneNumberReleaseProjection> GetPhoneNumberReleaseAsync(Guid releaseId, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | releaseId | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<PhoneNumberReleaseProjection> | Task of PhoneNumberReleaseProjection |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneNumberReleaseWithHttpInfo(Guid, int)
Get phone number release Get a released or deleted phone numbers
Declaration
public ApiResponse<PhoneNumberReleaseProjection> GetPhoneNumberReleaseWithHttpInfo(Guid releaseId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | releaseId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PhoneNumberReleaseProjection> | ApiResponse of PhoneNumberReleaseProjection |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneNumberReleaseWithHttpInfoAsync(Guid, int, CancellationToken)
Get phone number release Get a released or deleted phone numbers
Declaration
public Task<ApiResponse<PhoneNumberReleaseProjection>> GetPhoneNumberReleaseWithHttpInfoAsync(Guid releaseId, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | releaseId | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<PhoneNumberReleaseProjection>> | Task of ApiResponse (PhoneNumberReleaseProjection) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneNumberWithHttpInfo(Guid, int)
Get a phone number by ID Get a phone number by ID
Declaration
public ApiResponse<PhoneNumberDto> GetPhoneNumberWithHttpInfo(Guid phoneNumberId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PhoneNumberDto> | ApiResponse of PhoneNumberDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneNumberWithHttpInfoAsync(Guid, int, CancellationToken)
Get a phone number by ID Get a phone number by ID
Declaration
public Task<ApiResponse<PhoneNumberDto>> GetPhoneNumberWithHttpInfoAsync(Guid phoneNumberId, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<PhoneNumberDto>> | Task of ApiResponse (PhoneNumberDto) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneNumbers(string, string, string, string, string, string, int?, int?, string, DateTime?, DateTime?, string, List<Guid>, bool?, int)
Get phone numbers List phone numbers for account
Declaration
public PagePhoneNumberProjection GetPhoneNumbers(string phoneCountry = null, string lineType = null, string carrierName = null, string mobileCountryCode = null, string mobileNetworkCode = null, string providerLabel = null, int? page = null, int? size = null, string sort = null, DateTime? since = null, DateTime? before = null, string search = null, List<Guid> include = null, bool? favourite = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| string | phoneCountry | Optional phone country (optional) |
| string | lineType | Optional line type filter (optional) |
| string | carrierName | Optional carrier name filter (optional) |
| string | mobileCountryCode | Optional mobile country code filter (optional) |
| string | mobileNetworkCode | Optional mobile network code filter (optional) |
| string | providerLabel | Optional provider label filter such as T1 or T2 (optional) |
| int? | page | Optional page index for list pagination (optional, default to 0) |
| int? | size | Optional page size for list pagination (optional, default to 20) |
| string | sort | Optional createdAt sort direction ASC or DESC (optional, default to ASC) |
| DateTime? | since | Filter by created at after the given timestamp (optional) |
| DateTime? | before | Filter by created at before the given timestamp (optional) |
| string | search | Optional search filter (optional) |
| List<Guid> | include | Optional phoneIds to include in result (optional) |
| bool? | favourite | Optionally filter results for favourites only (optional, default to false) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PagePhoneNumberProjection | PagePhoneNumberProjection |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneNumbersAsync(string, string, string, string, string, string, int?, int?, string, DateTime?, DateTime?, string, List<Guid>, bool?, int, CancellationToken)
Get phone numbers List phone numbers for account
Declaration
public Task<PagePhoneNumberProjection> GetPhoneNumbersAsync(string phoneCountry = null, string lineType = null, string carrierName = null, string mobileCountryCode = null, string mobileNetworkCode = null, string providerLabel = null, int? page = null, int? size = null, string sort = null, DateTime? since = null, DateTime? before = null, string search = null, List<Guid> include = null, bool? favourite = null, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| string | phoneCountry | Optional phone country (optional) |
| string | lineType | Optional line type filter (optional) |
| string | carrierName | Optional carrier name filter (optional) |
| string | mobileCountryCode | Optional mobile country code filter (optional) |
| string | mobileNetworkCode | Optional mobile network code filter (optional) |
| string | providerLabel | Optional provider label filter such as T1 or T2 (optional) |
| int? | page | Optional page index for list pagination (optional, default to 0) |
| int? | size | Optional page size for list pagination (optional, default to 20) |
| string | sort | Optional createdAt sort direction ASC or DESC (optional, default to ASC) |
| DateTime? | since | Filter by created at after the given timestamp (optional) |
| DateTime? | before | Filter by created at before the given timestamp (optional) |
| string | search | Optional search filter (optional) |
| List<Guid> | include | Optional phoneIds to include in result (optional) |
| bool? | favourite | Optionally filter results for favourites only (optional, default to false) |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<PagePhoneNumberProjection> | Task of PagePhoneNumberProjection |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneNumbersWithHttpInfo(string, string, string, string, string, string, int?, int?, string, DateTime?, DateTime?, string, List<Guid>, bool?, int)
Get phone numbers List phone numbers for account
Declaration
public ApiResponse<PagePhoneNumberProjection> GetPhoneNumbersWithHttpInfo(string phoneCountry = null, string lineType = null, string carrierName = null, string mobileCountryCode = null, string mobileNetworkCode = null, string providerLabel = null, int? page = null, int? size = null, string sort = null, DateTime? since = null, DateTime? before = null, string search = null, List<Guid> include = null, bool? favourite = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| string | phoneCountry | Optional phone country (optional) |
| string | lineType | Optional line type filter (optional) |
| string | carrierName | Optional carrier name filter (optional) |
| string | mobileCountryCode | Optional mobile country code filter (optional) |
| string | mobileNetworkCode | Optional mobile network code filter (optional) |
| string | providerLabel | Optional provider label filter such as T1 or T2 (optional) |
| int? | page | Optional page index for list pagination (optional, default to 0) |
| int? | size | Optional page size for list pagination (optional, default to 20) |
| string | sort | Optional createdAt sort direction ASC or DESC (optional, default to ASC) |
| DateTime? | since | Filter by created at after the given timestamp (optional) |
| DateTime? | before | Filter by created at before the given timestamp (optional) |
| string | search | Optional search filter (optional) |
| List<Guid> | include | Optional phoneIds to include in result (optional) |
| bool? | favourite | Optionally filter results for favourites only (optional, default to false) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PagePhoneNumberProjection> | ApiResponse of PagePhoneNumberProjection |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneNumbersWithHttpInfoAsync(string, string, string, string, string, string, int?, int?, string, DateTime?, DateTime?, string, List<Guid>, bool?, int, CancellationToken)
Get phone numbers List phone numbers for account
Declaration
public Task<ApiResponse<PagePhoneNumberProjection>> GetPhoneNumbersWithHttpInfoAsync(string phoneCountry = null, string lineType = null, string carrierName = null, string mobileCountryCode = null, string mobileNetworkCode = null, string providerLabel = null, int? page = null, int? size = null, string sort = null, DateTime? since = null, DateTime? before = null, string search = null, List<Guid> include = null, bool? favourite = null, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| string | phoneCountry | Optional phone country (optional) |
| string | lineType | Optional line type filter (optional) |
| string | carrierName | Optional carrier name filter (optional) |
| string | mobileCountryCode | Optional mobile country code filter (optional) |
| string | mobileNetworkCode | Optional mobile network code filter (optional) |
| string | providerLabel | Optional provider label filter such as T1 or T2 (optional) |
| int? | page | Optional page index for list pagination (optional, default to 0) |
| int? | size | Optional page size for list pagination (optional, default to 20) |
| string | sort | Optional createdAt sort direction ASC or DESC (optional, default to ASC) |
| DateTime? | since | Filter by created at after the given timestamp (optional) |
| DateTime? | before | Filter by created at before the given timestamp (optional) |
| string | search | Optional search filter (optional) |
| List<Guid> | include | Optional phoneIds to include in result (optional) |
| bool? | favourite | Optionally filter results for favourites only (optional, default to false) |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<PagePhoneNumberProjection>> | Task of ApiResponse (PagePhoneNumberProjection) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhonePlans(int)
Get phone plans Get phone number plans
Declaration
public List<PhonePlanDto> GetPhonePlans(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| List<PhonePlanDto> | List<PhonePlanDto> |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhonePlansAsync(int, CancellationToken)
Get phone plans Get phone number plans
Declaration
public Task<List<PhonePlanDto>> GetPhonePlansAsync(int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<List<PhonePlanDto>> | Task of List<PhonePlanDto> |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhonePlansAvailability(int)
Get phone plans availability
Declaration
public PhonePlanAvailability GetPhonePlansAvailability(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PhonePlanAvailability | PhonePlanAvailability |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhonePlansAvailabilityAsync(int, CancellationToken)
Get phone plans availability
Declaration
public Task<PhonePlanAvailability> GetPhonePlansAvailabilityAsync(int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<PhonePlanAvailability> | Task of PhonePlanAvailability |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhonePlansAvailabilityWithHttpInfo(int)
Get phone plans availability
Declaration
public ApiResponse<PhonePlanAvailability> GetPhonePlansAvailabilityWithHttpInfo(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PhonePlanAvailability> | ApiResponse of PhonePlanAvailability |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhonePlansAvailabilityWithHttpInfoAsync(int, CancellationToken)
Get phone plans availability
Declaration
public Task<ApiResponse<PhonePlanAvailability>> GetPhonePlansAvailabilityWithHttpInfoAsync(int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<PhonePlanAvailability>> | Task of ApiResponse (PhonePlanAvailability) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhonePlansWithHttpInfo(int)
Get phone plans Get phone number plans
Declaration
public ApiResponse<List<PhonePlanDto>> GetPhonePlansWithHttpInfo(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<List<PhonePlanDto>> | ApiResponse of List<PhonePlanDto> |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhonePlansWithHttpInfoAsync(int, CancellationToken)
Get phone plans Get phone number plans
Declaration
public Task<ApiResponse<List<PhonePlanDto>>> GetPhonePlansWithHttpInfoAsync(int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<List<PhonePlanDto>>> | Task of ApiResponse (List<PhonePlanDto>) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhonePool(Guid, int)
Get phone pool Get phone pool details by ID
Declaration
public PhonePoolDetailDto GetPhonePool(Guid poolId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | poolId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PhonePoolDetailDto | PhonePoolDetailDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhonePoolAsync(Guid, int, CancellationToken)
Get phone pool Get phone pool details by ID
Declaration
public Task<PhonePoolDetailDto> GetPhonePoolAsync(Guid poolId, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | poolId | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<PhonePoolDetailDto> | Task of PhonePoolDetailDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhonePoolByName(string, int)
Get phone pool by name Get phone pool details by name
Declaration
public PhonePoolDetailDto GetPhonePoolByName(string name, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PhonePoolDetailDto | PhonePoolDetailDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhonePoolByNameAsync(string, int, CancellationToken)
Get phone pool by name Get phone pool details by name
Declaration
public Task<PhonePoolDetailDto> GetPhonePoolByNameAsync(string name, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<PhonePoolDetailDto> | Task of PhonePoolDetailDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhonePoolByNameWithHttpInfo(string, int)
Get phone pool by name Get phone pool details by name
Declaration
public ApiResponse<PhonePoolDetailDto> GetPhonePoolByNameWithHttpInfo(string name, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PhonePoolDetailDto> | ApiResponse of PhonePoolDetailDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhonePoolByNameWithHttpInfoAsync(string, int, CancellationToken)
Get phone pool by name Get phone pool details by name
Declaration
public Task<ApiResponse<PhonePoolDetailDto>> GetPhonePoolByNameWithHttpInfoAsync(string name, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<PhonePoolDetailDto>> | Task of ApiResponse (PhonePoolDetailDto) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhonePoolWithHttpInfo(Guid, int)
Get phone pool Get phone pool details by ID
Declaration
public ApiResponse<PhonePoolDetailDto> GetPhonePoolWithHttpInfo(Guid poolId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | poolId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PhonePoolDetailDto> | ApiResponse of PhonePoolDetailDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhonePoolWithHttpInfoAsync(Guid, int, CancellationToken)
Get phone pool Get phone pool details by ID
Declaration
public Task<ApiResponse<PhonePoolDetailDto>> GetPhonePoolWithHttpInfoAsync(Guid poolId, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | poolId | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<PhonePoolDetailDto>> | Task of ApiResponse (PhonePoolDetailDto) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhonePools(int)
Get phone pools List phone pools for the authenticated user
Declaration
public List<PhonePoolDto> GetPhonePools(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| List<PhonePoolDto> | List<PhonePoolDto> |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhonePoolsAsync(int, CancellationToken)
Get phone pools List phone pools for the authenticated user
Declaration
public Task<List<PhonePoolDto>> GetPhonePoolsAsync(int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<List<PhonePoolDto>> | Task of List<PhonePoolDto> |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhonePoolsWithHttpInfo(int)
Get phone pools List phone pools for the authenticated user
Declaration
public ApiResponse<List<PhonePoolDto>> GetPhonePoolsWithHttpInfo(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<List<PhonePoolDto>> | ApiResponse of List<PhonePoolDto> |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhonePoolsWithHttpInfoAsync(int, CancellationToken)
Get phone pools List phone pools for the authenticated user
Declaration
public Task<ApiResponse<List<PhonePoolDto>>> GetPhonePoolsWithHttpInfoAsync(int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<List<PhonePoolDto>>> | Task of ApiResponse (List<PhonePoolDto>) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneProvisioningCapabilities(string, string, int)
Get phone provisioning capabilities Get supported provider-country variant capabilities for advanced provisioning
Declaration
public PhoneProviderCapabilitiesResult GetPhoneProvisioningCapabilities(string phoneCountry, string providerLabel = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| string | phoneCountry | |
| string | providerLabel | (optional) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PhoneProviderCapabilitiesResult | PhoneProviderCapabilitiesResult |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneProvisioningCapabilitiesAsync(string, string, int, CancellationToken)
Get phone provisioning capabilities Get supported provider-country variant capabilities for advanced provisioning
Declaration
public Task<PhoneProviderCapabilitiesResult> GetPhoneProvisioningCapabilitiesAsync(string phoneCountry, string providerLabel = null, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| string | phoneCountry | |
| string | providerLabel | (optional) |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<PhoneProviderCapabilitiesResult> | Task of PhoneProviderCapabilitiesResult |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneProvisioningCapabilitiesWithHttpInfo(string, string, int)
Get phone provisioning capabilities Get supported provider-country variant capabilities for advanced provisioning
Declaration
public ApiResponse<PhoneProviderCapabilitiesResult> GetPhoneProvisioningCapabilitiesWithHttpInfo(string phoneCountry, string providerLabel = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| string | phoneCountry | |
| string | providerLabel | (optional) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PhoneProviderCapabilitiesResult> | ApiResponse of PhoneProviderCapabilitiesResult |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneProvisioningCapabilitiesWithHttpInfoAsync(string, string, int, CancellationToken)
Get phone provisioning capabilities Get supported provider-country variant capabilities for advanced provisioning
Declaration
public Task<ApiResponse<PhoneProviderCapabilitiesResult>> GetPhoneProvisioningCapabilitiesWithHttpInfoAsync(string phoneCountry, string providerLabel = null, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| string | phoneCountry | |
| string | providerLabel | (optional) |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<PhoneProviderCapabilitiesResult>> | Task of ApiResponse (PhoneProviderCapabilitiesResult) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneProvisioningJob(Guid, int)
Get phone provisioning job Get advanced phone provisioning job status
Declaration
public PhoneProvisioningJobDto GetPhoneProvisioningJob(Guid jobId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | jobId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PhoneProvisioningJobDto | PhoneProvisioningJobDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneProvisioningJobAsync(Guid, int, CancellationToken)
Get phone provisioning job Get advanced phone provisioning job status
Declaration
public Task<PhoneProvisioningJobDto> GetPhoneProvisioningJobAsync(Guid jobId, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | jobId | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<PhoneProvisioningJobDto> | Task of PhoneProvisioningJobDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneProvisioningJobWithHttpInfo(Guid, int)
Get phone provisioning job Get advanced phone provisioning job status
Declaration
public ApiResponse<PhoneProvisioningJobDto> GetPhoneProvisioningJobWithHttpInfo(Guid jobId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | jobId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PhoneProvisioningJobDto> | ApiResponse of PhoneProvisioningJobDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneProvisioningJobWithHttpInfoAsync(Guid, int, CancellationToken)
Get phone provisioning job Get advanced phone provisioning job status
Declaration
public Task<ApiResponse<PhoneProvisioningJobDto>> GetPhoneProvisioningJobWithHttpInfoAsync(Guid jobId, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | jobId | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<PhoneProvisioningJobDto>> | Task of ApiResponse (PhoneProvisioningJobDto) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneSmsPrepaidCredit(Guid, int)
Get SMS prepaid credit Get a specific SMS prepaid credit balance for the authenticated account
Declaration
public PhoneSmsPrepaidCreditDto GetPhoneSmsPrepaidCredit(Guid creditId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | creditId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PhoneSmsPrepaidCreditDto | PhoneSmsPrepaidCreditDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneSmsPrepaidCreditAsync(Guid, int, CancellationToken)
Get SMS prepaid credit Get a specific SMS prepaid credit balance for the authenticated account
Declaration
public Task<PhoneSmsPrepaidCreditDto> GetPhoneSmsPrepaidCreditAsync(Guid creditId, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | creditId | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<PhoneSmsPrepaidCreditDto> | Task of PhoneSmsPrepaidCreditDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneSmsPrepaidCreditWithHttpInfo(Guid, int)
Get SMS prepaid credit Get a specific SMS prepaid credit balance for the authenticated account
Declaration
public ApiResponse<PhoneSmsPrepaidCreditDto> GetPhoneSmsPrepaidCreditWithHttpInfo(Guid creditId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | creditId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PhoneSmsPrepaidCreditDto> | ApiResponse of PhoneSmsPrepaidCreditDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneSmsPrepaidCreditWithHttpInfoAsync(Guid, int, CancellationToken)
Get SMS prepaid credit Get a specific SMS prepaid credit balance for the authenticated account
Declaration
public Task<ApiResponse<PhoneSmsPrepaidCreditDto>> GetPhoneSmsPrepaidCreditWithHttpInfoAsync(Guid creditId, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | creditId | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<PhoneSmsPrepaidCreditDto>> | Task of ApiResponse (PhoneSmsPrepaidCreditDto) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneSmsPrepaidCredits(int)
Get SMS prepaid credits List SMS prepaid credits for the authenticated account
Declaration
public PhoneSmsPrepaidCreditsDto GetPhoneSmsPrepaidCredits(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PhoneSmsPrepaidCreditsDto | PhoneSmsPrepaidCreditsDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneSmsPrepaidCreditsAsync(int, CancellationToken)
Get SMS prepaid credits List SMS prepaid credits for the authenticated account
Declaration
public Task<PhoneSmsPrepaidCreditsDto> GetPhoneSmsPrepaidCreditsAsync(int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<PhoneSmsPrepaidCreditsDto> | Task of PhoneSmsPrepaidCreditsDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneSmsPrepaidCreditsWithHttpInfo(int)
Get SMS prepaid credits List SMS prepaid credits for the authenticated account
Declaration
public ApiResponse<PhoneSmsPrepaidCreditsDto> GetPhoneSmsPrepaidCreditsWithHttpInfo(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PhoneSmsPrepaidCreditsDto> | ApiResponse of PhoneSmsPrepaidCreditsDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneSmsPrepaidCreditsWithHttpInfoAsync(int, CancellationToken)
Get SMS prepaid credits List SMS prepaid credits for the authenticated account
Declaration
public Task<ApiResponse<PhoneSmsPrepaidCreditsDto>> GetPhoneSmsPrepaidCreditsWithHttpInfoAsync(int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<PhoneSmsPrepaidCreditsDto>> | Task of ApiResponse (PhoneSmsPrepaidCreditsDto) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneSummary(int)
Get phone summary Get overview of assigned phones
Declaration
public PhoneSummaryDto GetPhoneSummary(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PhoneSummaryDto | PhoneSummaryDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneSummaryAsync(int, CancellationToken)
Get phone summary Get overview of assigned phones
Declaration
public Task<PhoneSummaryDto> GetPhoneSummaryAsync(int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<PhoneSummaryDto> | Task of PhoneSummaryDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneSummaryWithHttpInfo(int)
Get phone summary Get overview of assigned phones
Declaration
public ApiResponse<PhoneSummaryDto> GetPhoneSummaryWithHttpInfo(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PhoneSummaryDto> | ApiResponse of PhoneSummaryDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetPhoneSummaryWithHttpInfoAsync(int, CancellationToken)
Get phone summary Get overview of assigned phones
Declaration
public Task<ApiResponse<PhoneSummaryDto>> GetPhoneSummaryWithHttpInfoAsync(int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<PhoneSummaryDto>> | Task of ApiResponse (PhoneSummaryDto) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetSentSmsByPhoneNumber(Guid, int?, int?, string, DateTime?, DateTime?, string, int)
List sent TXT messages for a phone number Get sent SMS messages for a phone number
Declaration
public PageSentSmsProjection GetSentSmsByPhoneNumber(Guid phoneNumberId, int? page = null, int? size = null, string sort = null, DateTime? since = null, DateTime? before = null, string search = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| int? | page | Optional page index in SMS list pagination (optional, default to 0) |
| int? | size | Optional page size in SMS list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20) |
| string | sort | Optional createdAt sort direction ASC or DESC (optional, default to ASC) |
| DateTime? | since | Optional filter SMSs received after given date time (optional) |
| DateTime? | before | Optional filter SMSs received before given date time (optional) |
| string | search | Optional search filter (optional) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PageSentSmsProjection | PageSentSmsProjection |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetSentSmsByPhoneNumberAsync(Guid, int?, int?, string, DateTime?, DateTime?, string, int, CancellationToken)
List sent TXT messages for a phone number Get sent SMS messages for a phone number
Declaration
public Task<PageSentSmsProjection> GetSentSmsByPhoneNumberAsync(Guid phoneNumberId, int? page = null, int? size = null, string sort = null, DateTime? since = null, DateTime? before = null, string search = null, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| int? | page | Optional page index in SMS list pagination (optional, default to 0) |
| int? | size | Optional page size in SMS list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20) |
| string | sort | Optional createdAt sort direction ASC or DESC (optional, default to ASC) |
| DateTime? | since | Optional filter SMSs received after given date time (optional) |
| DateTime? | before | Optional filter SMSs received before given date time (optional) |
| string | search | Optional search filter (optional) |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<PageSentSmsProjection> | Task of PageSentSmsProjection |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetSentSmsByPhoneNumberWithHttpInfo(Guid, int?, int?, string, DateTime?, DateTime?, string, int)
List sent TXT messages for a phone number Get sent SMS messages for a phone number
Declaration
public ApiResponse<PageSentSmsProjection> GetSentSmsByPhoneNumberWithHttpInfo(Guid phoneNumberId, int? page = null, int? size = null, string sort = null, DateTime? since = null, DateTime? before = null, string search = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| int? | page | Optional page index in SMS list pagination (optional, default to 0) |
| int? | size | Optional page size in SMS list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20) |
| string | sort | Optional createdAt sort direction ASC or DESC (optional, default to ASC) |
| DateTime? | since | Optional filter SMSs received after given date time (optional) |
| DateTime? | before | Optional filter SMSs received before given date time (optional) |
| string | search | Optional search filter (optional) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PageSentSmsProjection> | ApiResponse of PageSentSmsProjection |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetSentSmsByPhoneNumberWithHttpInfoAsync(Guid, int?, int?, string, DateTime?, DateTime?, string, int, CancellationToken)
List sent TXT messages for a phone number Get sent SMS messages for a phone number
Declaration
public Task<ApiResponse<PageSentSmsProjection>> GetSentSmsByPhoneNumberWithHttpInfoAsync(Guid phoneNumberId, int? page = null, int? size = null, string sort = null, DateTime? since = null, DateTime? before = null, string search = null, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| int? | page | Optional page index in SMS list pagination (optional, default to 0) |
| int? | size | Optional page size in SMS list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20) |
| string | sort | Optional createdAt sort direction ASC or DESC (optional, default to ASC) |
| DateTime? | since | Optional filter SMSs received after given date time (optional) |
| DateTime? | before | Optional filter SMSs received before given date time (optional) |
| string | search | Optional search filter (optional) |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<PageSentSmsProjection>> | Task of ApiResponse (PageSentSmsProjection) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetSmsByPhoneNumber(Guid, int?, int?, string, bool?, DateTime?, DateTime?, string, bool?, int)
List SMS messages for a phone number Get SMS messages for a phone number
Declaration
public PageSmsProjection GetSmsByPhoneNumber(Guid phoneNumberId, int? page = null, int? size = null, string sort = null, bool? unreadOnly = null, DateTime? since = null, DateTime? before = null, string search = null, bool? favourite = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| int? | page | Optional page index in SMS list pagination (optional, default to 0) |
| int? | size | Optional page size in SMS list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20) |
| string | sort | Optional createdAt sort direction ASC or DESC (optional, default to ASC) |
| bool? | unreadOnly | Optional filter for unread SMS only. All SMS are considered unread until they are viewed in the dashboard or requested directly (optional, default to false) |
| DateTime? | since | Optional filter SMSs received after given date time (optional) |
| DateTime? | before | Optional filter SMSs received before given date time (optional) |
| string | search | Optional search filter (optional) |
| bool? | favourite | Optionally filter results for favourites only (optional, default to false) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PageSmsProjection | PageSmsProjection |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetSmsByPhoneNumberAsync(Guid, int?, int?, string, bool?, DateTime?, DateTime?, string, bool?, int, CancellationToken)
List SMS messages for a phone number Get SMS messages for a phone number
Declaration
public Task<PageSmsProjection> GetSmsByPhoneNumberAsync(Guid phoneNumberId, int? page = null, int? size = null, string sort = null, bool? unreadOnly = null, DateTime? since = null, DateTime? before = null, string search = null, bool? favourite = null, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| int? | page | Optional page index in SMS list pagination (optional, default to 0) |
| int? | size | Optional page size in SMS list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20) |
| string | sort | Optional createdAt sort direction ASC or DESC (optional, default to ASC) |
| bool? | unreadOnly | Optional filter for unread SMS only. All SMS are considered unread until they are viewed in the dashboard or requested directly (optional, default to false) |
| DateTime? | since | Optional filter SMSs received after given date time (optional) |
| DateTime? | before | Optional filter SMSs received before given date time (optional) |
| string | search | Optional search filter (optional) |
| bool? | favourite | Optionally filter results for favourites only (optional, default to false) |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<PageSmsProjection> | Task of PageSmsProjection |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetSmsByPhoneNumberWithHttpInfo(Guid, int?, int?, string, bool?, DateTime?, DateTime?, string, bool?, int)
List SMS messages for a phone number Get SMS messages for a phone number
Declaration
public ApiResponse<PageSmsProjection> GetSmsByPhoneNumberWithHttpInfo(Guid phoneNumberId, int? page = null, int? size = null, string sort = null, bool? unreadOnly = null, DateTime? since = null, DateTime? before = null, string search = null, bool? favourite = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| int? | page | Optional page index in SMS list pagination (optional, default to 0) |
| int? | size | Optional page size in SMS list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20) |
| string | sort | Optional createdAt sort direction ASC or DESC (optional, default to ASC) |
| bool? | unreadOnly | Optional filter for unread SMS only. All SMS are considered unread until they are viewed in the dashboard or requested directly (optional, default to false) |
| DateTime? | since | Optional filter SMSs received after given date time (optional) |
| DateTime? | before | Optional filter SMSs received before given date time (optional) |
| string | search | Optional search filter (optional) |
| bool? | favourite | Optionally filter results for favourites only (optional, default to false) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PageSmsProjection> | ApiResponse of PageSmsProjection |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetSmsByPhoneNumberWithHttpInfoAsync(Guid, int?, int?, string, bool?, DateTime?, DateTime?, string, bool?, int, CancellationToken)
List SMS messages for a phone number Get SMS messages for a phone number
Declaration
public Task<ApiResponse<PageSmsProjection>> GetSmsByPhoneNumberWithHttpInfoAsync(Guid phoneNumberId, int? page = null, int? size = null, string sort = null, bool? unreadOnly = null, DateTime? since = null, DateTime? before = null, string search = null, bool? favourite = null, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| int? | page | Optional page index in SMS list pagination (optional, default to 0) |
| int? | size | Optional page size in SMS list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20) |
| string | sort | Optional createdAt sort direction ASC or DESC (optional, default to ASC) |
| bool? | unreadOnly | Optional filter for unread SMS only. All SMS are considered unread until they are viewed in the dashboard or requested directly (optional, default to false) |
| DateTime? | since | Optional filter SMSs received after given date time (optional) |
| DateTime? | before | Optional filter SMSs received before given date time (optional) |
| string | search | Optional search filter (optional) |
| bool? | favourite | Optionally filter results for favourites only (optional, default to false) |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<PageSmsProjection>> | Task of ApiResponse (PageSmsProjection) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
ReassignPhoneNumberRelease(Guid, int)
Reassign phone number release Reassign phone number that was released or deleted
Declaration
public PhoneNumberDto ReassignPhoneNumberRelease(Guid releaseId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | releaseId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PhoneNumberDto | PhoneNumberDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
ReassignPhoneNumberReleaseAsync(Guid, int, CancellationToken)
Reassign phone number release Reassign phone number that was released or deleted
Declaration
public Task<PhoneNumberDto> ReassignPhoneNumberReleaseAsync(Guid releaseId, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | releaseId | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<PhoneNumberDto> | Task of PhoneNumberDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
ReassignPhoneNumberReleaseWithHttpInfo(Guid, int)
Reassign phone number release Reassign phone number that was released or deleted
Declaration
public ApiResponse<PhoneNumberDto> ReassignPhoneNumberReleaseWithHttpInfo(Guid releaseId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | releaseId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PhoneNumberDto> | ApiResponse of PhoneNumberDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
ReassignPhoneNumberReleaseWithHttpInfoAsync(Guid, int, CancellationToken)
Reassign phone number release Reassign phone number that was released or deleted
Declaration
public Task<ApiResponse<PhoneNumberDto>> ReassignPhoneNumberReleaseWithHttpInfoAsync(Guid releaseId, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | releaseId | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<PhoneNumberDto>> | Task of ApiResponse (PhoneNumberDto) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
ReleasePhonePoolLease(Guid, Guid, int)
Release phone pool lease Release an active phone pool lease
Declaration
public void ReleasePhonePoolLease(Guid poolId, Guid leaseId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | poolId | |
| Guid | leaseId | |
| int | operationIndex | Index associated with the operation. |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
ReleasePhonePoolLeaseAsync(Guid, Guid, int, CancellationToken)
Release phone pool lease Release an active phone pool lease
Declaration
public Task ReleasePhonePoolLeaseAsync(Guid poolId, Guid leaseId, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | poolId | |
| Guid | leaseId | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task | Task of void |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
ReleasePhonePoolLeaseWithHttpInfo(Guid, Guid, int)
Release phone pool lease Release an active phone pool lease
Declaration
public ApiResponse<object> ReleasePhonePoolLeaseWithHttpInfo(Guid poolId, Guid leaseId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | poolId | |
| Guid | leaseId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<object> | ApiResponse of Object(void) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
ReleasePhonePoolLeaseWithHttpInfoAsync(Guid, Guid, int, CancellationToken)
Release phone pool lease Release an active phone pool lease
Declaration
public Task<ApiResponse<object>> ReleasePhonePoolLeaseWithHttpInfoAsync(Guid poolId, Guid leaseId, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | poolId | |
| Guid | leaseId | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<object>> | Task of ApiResponse |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
RemovePhoneNumberFromPhonePool(Guid, Guid, int)
Remove phone number from phone pool Remove a phone number from a pool. If the number is leased from this pool the lease is released.
Declaration
public void RemovePhoneNumberFromPhonePool(Guid poolId, Guid phoneNumberId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | poolId | |
| Guid | phoneNumberId | |
| int | operationIndex | Index associated with the operation. |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
RemovePhoneNumberFromPhonePoolAsync(Guid, Guid, int, CancellationToken)
Remove phone number from phone pool Remove a phone number from a pool. If the number is leased from this pool the lease is released.
Declaration
public Task RemovePhoneNumberFromPhonePoolAsync(Guid poolId, Guid phoneNumberId, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | poolId | |
| Guid | phoneNumberId | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task | Task of void |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
RemovePhoneNumberFromPhonePoolWithHttpInfo(Guid, Guid, int)
Remove phone number from phone pool Remove a phone number from a pool. If the number is leased from this pool the lease is released.
Declaration
public ApiResponse<object> RemovePhoneNumberFromPhonePoolWithHttpInfo(Guid poolId, Guid phoneNumberId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | poolId | |
| Guid | phoneNumberId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<object> | ApiResponse of Object(void) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
RemovePhoneNumberFromPhonePoolWithHttpInfoAsync(Guid, Guid, int, CancellationToken)
Remove phone number from phone pool Remove a phone number from a pool. If the number is leased from this pool the lease is released.
Declaration
public Task<ApiResponse<object>> RemovePhoneNumberFromPhonePoolWithHttpInfoAsync(Guid poolId, Guid phoneNumberId, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | poolId | |
| Guid | phoneNumberId | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<object>> | Task of ApiResponse |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
SearchAvailablePhoneNumbers(SearchAvailablePhoneNumbersOptions, int)
Search available phone numbers Search available numbers for advanced provisioning
Declaration
public AvailablePhoneNumbersResult SearchAvailablePhoneNumbers(SearchAvailablePhoneNumbersOptions searchAvailablePhoneNumbersOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| SearchAvailablePhoneNumbersOptions | searchAvailablePhoneNumbersOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| AvailablePhoneNumbersResult | AvailablePhoneNumbersResult |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
SearchAvailablePhoneNumbersAsync(SearchAvailablePhoneNumbersOptions, int, CancellationToken)
Search available phone numbers Search available numbers for advanced provisioning
Declaration
public Task<AvailablePhoneNumbersResult> SearchAvailablePhoneNumbersAsync(SearchAvailablePhoneNumbersOptions searchAvailablePhoneNumbersOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| SearchAvailablePhoneNumbersOptions | searchAvailablePhoneNumbersOptions | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<AvailablePhoneNumbersResult> | Task of AvailablePhoneNumbersResult |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
SearchAvailablePhoneNumbersWithHttpInfo(SearchAvailablePhoneNumbersOptions, int)
Search available phone numbers Search available numbers for advanced provisioning
Declaration
public ApiResponse<AvailablePhoneNumbersResult> SearchAvailablePhoneNumbersWithHttpInfo(SearchAvailablePhoneNumbersOptions searchAvailablePhoneNumbersOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| SearchAvailablePhoneNumbersOptions | searchAvailablePhoneNumbersOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<AvailablePhoneNumbersResult> | ApiResponse of AvailablePhoneNumbersResult |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
SearchAvailablePhoneNumbersWithHttpInfoAsync(SearchAvailablePhoneNumbersOptions, int, CancellationToken)
Search available phone numbers Search available numbers for advanced provisioning
Declaration
public Task<ApiResponse<AvailablePhoneNumbersResult>> SearchAvailablePhoneNumbersWithHttpInfoAsync(SearchAvailablePhoneNumbersOptions searchAvailablePhoneNumbersOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| SearchAvailablePhoneNumbersOptions | searchAvailablePhoneNumbersOptions | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<AvailablePhoneNumbersResult>> | Task of ApiResponse (AvailablePhoneNumbersResult) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
SendSmsFromPhoneNumber(Guid, SmsSendOptions, int)
Send TXT message from a phone number Send SMS from a phone number
Declaration
public SentSmsDto SendSmsFromPhoneNumber(Guid phoneNumberId, SmsSendOptions smsSendOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| SmsSendOptions | smsSendOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| SentSmsDto | SentSmsDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
SendSmsFromPhoneNumberAsync(Guid, SmsSendOptions, int, CancellationToken)
Send TXT message from a phone number Send SMS from a phone number
Declaration
public Task<SentSmsDto> SendSmsFromPhoneNumberAsync(Guid phoneNumberId, SmsSendOptions smsSendOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| SmsSendOptions | smsSendOptions | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<SentSmsDto> | Task of SentSmsDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
SendSmsFromPhoneNumberWithHttpInfo(Guid, SmsSendOptions, int)
Send TXT message from a phone number Send SMS from a phone number
Declaration
public ApiResponse<SentSmsDto> SendSmsFromPhoneNumberWithHttpInfo(Guid phoneNumberId, SmsSendOptions smsSendOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| SmsSendOptions | smsSendOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<SentSmsDto> | ApiResponse of SentSmsDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
SendSmsFromPhoneNumberWithHttpInfoAsync(Guid, SmsSendOptions, int, CancellationToken)
Send TXT message from a phone number Send SMS from a phone number
Declaration
public Task<ApiResponse<SentSmsDto>> SendSmsFromPhoneNumberWithHttpInfoAsync(Guid phoneNumberId, SmsSendOptions smsSendOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| SmsSendOptions | smsSendOptions | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<SentSmsDto>> | Task of ApiResponse (SentSmsDto) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
SetConsentStatus(bool, int)
Set consent status Give or revoke consent for phone usage
Declaration
public ConsentStatusDto SetConsentStatus(bool agree, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | agree | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ConsentStatusDto | ConsentStatusDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
SetConsentStatusAsync(bool, int, CancellationToken)
Set consent status Give or revoke consent for phone usage
Declaration
public Task<ConsentStatusDto> SetConsentStatusAsync(bool agree, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | agree | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ConsentStatusDto> | Task of ConsentStatusDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
SetConsentStatusWithHttpInfo(bool, int)
Set consent status Give or revoke consent for phone usage
Declaration
public ApiResponse<ConsentStatusDto> SetConsentStatusWithHttpInfo(bool agree, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | agree | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<ConsentStatusDto> | ApiResponse of ConsentStatusDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
SetConsentStatusWithHttpInfoAsync(bool, int, CancellationToken)
Set consent status Give or revoke consent for phone usage
Declaration
public Task<ApiResponse<ConsentStatusDto>> SetConsentStatusWithHttpInfoAsync(bool agree, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | agree | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<ConsentStatusDto>> | Task of ApiResponse (ConsentStatusDto) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
SetPhoneFavourited(Guid, SetPhoneFavouritedOptions, int)
Set phone favourited state Set and return new favorite state for a phone
Declaration
public PhoneNumberDto SetPhoneFavourited(Guid phoneNumberId, SetPhoneFavouritedOptions setPhoneFavouritedOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | ID of phone to set favourite state |
| SetPhoneFavouritedOptions | setPhoneFavouritedOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PhoneNumberDto | PhoneNumberDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
SetPhoneFavouritedAsync(Guid, SetPhoneFavouritedOptions, int, CancellationToken)
Set phone favourited state Set and return new favorite state for a phone
Declaration
public Task<PhoneNumberDto> SetPhoneFavouritedAsync(Guid phoneNumberId, SetPhoneFavouritedOptions setPhoneFavouritedOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | ID of phone to set favourite state |
| SetPhoneFavouritedOptions | setPhoneFavouritedOptions | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<PhoneNumberDto> | Task of PhoneNumberDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
SetPhoneFavouritedWithHttpInfo(Guid, SetPhoneFavouritedOptions, int)
Set phone favourited state Set and return new favorite state for a phone
Declaration
public ApiResponse<PhoneNumberDto> SetPhoneFavouritedWithHttpInfo(Guid phoneNumberId, SetPhoneFavouritedOptions setPhoneFavouritedOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | ID of phone to set favourite state |
| SetPhoneFavouritedOptions | setPhoneFavouritedOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PhoneNumberDto> | ApiResponse of PhoneNumberDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
SetPhoneFavouritedWithHttpInfoAsync(Guid, SetPhoneFavouritedOptions, int, CancellationToken)
Set phone favourited state Set and return new favorite state for a phone
Declaration
public Task<ApiResponse<PhoneNumberDto>> SetPhoneFavouritedWithHttpInfoAsync(Guid phoneNumberId, SetPhoneFavouritedOptions setPhoneFavouritedOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | ID of phone to set favourite state |
| SetPhoneFavouritedOptions | setPhoneFavouritedOptions | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<PhoneNumberDto>> | Task of ApiResponse (PhoneNumberDto) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
TestPhoneNumberSendSms(Guid, TestPhoneNumberOptions, string, int)
Test sending an SMS to a number Test a phone number by sending an SMS to it. NOTE this is only for internal use to check that a phone number is working. For end-to-end phone testing see https://docs.mailslurp.com/txt-sms/
Declaration
public void TestPhoneNumberSendSms(Guid phoneNumberId, TestPhoneNumberOptions testPhoneNumberOptions, string xTestId = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| TestPhoneNumberOptions | testPhoneNumberOptions | |
| string | xTestId | (optional) |
| int | operationIndex | Index associated with the operation. |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
TestPhoneNumberSendSmsAsync(Guid, TestPhoneNumberOptions, string, int, CancellationToken)
Test sending an SMS to a number Test a phone number by sending an SMS to it. NOTE this is only for internal use to check that a phone number is working. For end-to-end phone testing see https://docs.mailslurp.com/txt-sms/
Declaration
public Task TestPhoneNumberSendSmsAsync(Guid phoneNumberId, TestPhoneNumberOptions testPhoneNumberOptions, string xTestId = null, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| TestPhoneNumberOptions | testPhoneNumberOptions | |
| string | xTestId | (optional) |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task | Task of void |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
TestPhoneNumberSendSmsWithHttpInfo(Guid, TestPhoneNumberOptions, string, int)
Test sending an SMS to a number Test a phone number by sending an SMS to it. NOTE this is only for internal use to check that a phone number is working. For end-to-end phone testing see https://docs.mailslurp.com/txt-sms/
Declaration
public ApiResponse<object> TestPhoneNumberSendSmsWithHttpInfo(Guid phoneNumberId, TestPhoneNumberOptions testPhoneNumberOptions, string xTestId = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| TestPhoneNumberOptions | testPhoneNumberOptions | |
| string | xTestId | (optional) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<object> | ApiResponse of Object(void) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
TestPhoneNumberSendSmsWithHttpInfoAsync(Guid, TestPhoneNumberOptions, string, int, CancellationToken)
Test sending an SMS to a number Test a phone number by sending an SMS to it. NOTE this is only for internal use to check that a phone number is working. For end-to-end phone testing see https://docs.mailslurp.com/txt-sms/
Declaration
public Task<ApiResponse<object>> TestPhoneNumberSendSmsWithHttpInfoAsync(Guid phoneNumberId, TestPhoneNumberOptions testPhoneNumberOptions, string xTestId = null, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | |
| TestPhoneNumberOptions | testPhoneNumberOptions | |
| string | xTestId | (optional) |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<object>> | Task of ApiResponse |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
UpdatePhoneNumber(Guid, UpdatePhoneNumberOptions, int)
Update a phone number Set field for phone number
Declaration
public PhoneNumberDto UpdatePhoneNumber(Guid phoneNumberId, UpdatePhoneNumberOptions updatePhoneNumberOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | ID of phone to set favourite state |
| UpdatePhoneNumberOptions | updatePhoneNumberOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PhoneNumberDto | PhoneNumberDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
UpdatePhoneNumberAsync(Guid, UpdatePhoneNumberOptions, int, CancellationToken)
Update a phone number Set field for phone number
Declaration
public Task<PhoneNumberDto> UpdatePhoneNumberAsync(Guid phoneNumberId, UpdatePhoneNumberOptions updatePhoneNumberOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | ID of phone to set favourite state |
| UpdatePhoneNumberOptions | updatePhoneNumberOptions | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<PhoneNumberDto> | Task of PhoneNumberDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
UpdatePhoneNumberWithHttpInfo(Guid, UpdatePhoneNumberOptions, int)
Update a phone number Set field for phone number
Declaration
public ApiResponse<PhoneNumberDto> UpdatePhoneNumberWithHttpInfo(Guid phoneNumberId, UpdatePhoneNumberOptions updatePhoneNumberOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | ID of phone to set favourite state |
| UpdatePhoneNumberOptions | updatePhoneNumberOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PhoneNumberDto> | ApiResponse of PhoneNumberDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
UpdatePhoneNumberWithHttpInfoAsync(Guid, UpdatePhoneNumberOptions, int, CancellationToken)
Update a phone number Set field for phone number
Declaration
public Task<ApiResponse<PhoneNumberDto>> UpdatePhoneNumberWithHttpInfoAsync(Guid phoneNumberId, UpdatePhoneNumberOptions updatePhoneNumberOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | phoneNumberId | ID of phone to set favourite state |
| UpdatePhoneNumberOptions | updatePhoneNumberOptions | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<PhoneNumberDto>> | Task of ApiResponse (PhoneNumberDto) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
UpdatePhonePool(Guid, UpdatePhonePoolOptions, int)
Update phone pool Update phone pool metadata such as name or description
Declaration
public PhonePoolDetailDto UpdatePhonePool(Guid poolId, UpdatePhonePoolOptions updatePhonePoolOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | poolId | |
| UpdatePhonePoolOptions | updatePhonePoolOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PhonePoolDetailDto | PhonePoolDetailDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
UpdatePhonePoolAsync(Guid, UpdatePhonePoolOptions, int, CancellationToken)
Update phone pool Update phone pool metadata such as name or description
Declaration
public Task<PhonePoolDetailDto> UpdatePhonePoolAsync(Guid poolId, UpdatePhonePoolOptions updatePhonePoolOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | poolId | |
| UpdatePhonePoolOptions | updatePhonePoolOptions | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<PhonePoolDetailDto> | Task of PhonePoolDetailDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
UpdatePhonePoolWithHttpInfo(Guid, UpdatePhonePoolOptions, int)
Update phone pool Update phone pool metadata such as name or description
Declaration
public ApiResponse<PhonePoolDetailDto> UpdatePhonePoolWithHttpInfo(Guid poolId, UpdatePhonePoolOptions updatePhonePoolOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | poolId | |
| UpdatePhonePoolOptions | updatePhonePoolOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PhonePoolDetailDto> | ApiResponse of PhonePoolDetailDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
UpdatePhonePoolWithHttpInfoAsync(Guid, UpdatePhonePoolOptions, int, CancellationToken)
Update phone pool Update phone pool metadata such as name or description
Declaration
public Task<ApiResponse<PhonePoolDetailDto>> UpdatePhonePoolWithHttpInfoAsync(Guid poolId, UpdatePhonePoolOptions updatePhonePoolOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | poolId | |
| UpdatePhonePoolOptions | updatePhonePoolOptions | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<PhonePoolDetailDto>> | Task of ApiResponse (PhonePoolDetailDto) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
ValidatePhoneNumber(ValidatePhoneNumberOptions, int)
Verify validity of a phone number Validate a phone number
Declaration
public PhoneNumberValidationDto ValidatePhoneNumber(ValidatePhoneNumberOptions validatePhoneNumberOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| ValidatePhoneNumberOptions | validatePhoneNumberOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PhoneNumberValidationDto | PhoneNumberValidationDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
ValidatePhoneNumberAsync(ValidatePhoneNumberOptions, int, CancellationToken)
Verify validity of a phone number Validate a phone number
Declaration
public Task<PhoneNumberValidationDto> ValidatePhoneNumberAsync(ValidatePhoneNumberOptions validatePhoneNumberOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| ValidatePhoneNumberOptions | validatePhoneNumberOptions | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<PhoneNumberValidationDto> | Task of PhoneNumberValidationDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
ValidatePhoneNumberWithHttpInfo(ValidatePhoneNumberOptions, int)
Verify validity of a phone number Validate a phone number
Declaration
public ApiResponse<PhoneNumberValidationDto> ValidatePhoneNumberWithHttpInfo(ValidatePhoneNumberOptions validatePhoneNumberOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| ValidatePhoneNumberOptions | validatePhoneNumberOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PhoneNumberValidationDto> | ApiResponse of PhoneNumberValidationDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
ValidatePhoneNumberWithHttpInfoAsync(ValidatePhoneNumberOptions, int, CancellationToken)
Verify validity of a phone number Validate a phone number
Declaration
public Task<ApiResponse<PhoneNumberValidationDto>> ValidatePhoneNumberWithHttpInfoAsync(ValidatePhoneNumberOptions validatePhoneNumberOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| ValidatePhoneNumberOptions | validatePhoneNumberOptions | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<PhoneNumberValidationDto>> | Task of ApiResponse (PhoneNumberValidationDto) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |