Twilio.Numbers.V1.Porting.PortIn.PortInRequestService (twilio_elixir v0.1.1)

Copy Markdown View Source

Service for PortInRequest API operations.

Operations: list

Summary

Functions

Retrieve a list of all PortInRequests for a user

Stream: Retrieve a list of all PortInRequests for a user (lazy auto-pagination).

Functions

list(client, params \\ %{}, opts \\ [])

@spec list(Twilio.Client.t(), map(), keyword()) ::
  {:ok, Twilio.Page.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}

Retrieve a list of all PortInRequests for a user

Operation: ListPortInRequests | Tags: NumbersV1PortingPortIn

Query Parameters

ParameterTypeDescription
TokenstringPage start token, if null then it will start from the beginning
Sizeinteger (int32)Number of items per page
PortInRequestSidstringFilter by Port in request SID, supports multiple values separated by comma
PortInRequestStatusstringFilter by Port In request status
CreatedBeforestringFind all created before a certain date
CreatedAfterstringFind all created after a certain date

stream(client, params \\ %{}, opts \\ [])

@spec stream(Twilio.Client.t(), map(), keyword()) :: Enumerable.t()

Stream: Retrieve a list of all PortInRequests for a user (lazy auto-pagination).