github.com/twilio/twilio-go@v1.20.1/rest/numbers/v1/docs/PortingPortInApi.md (about)

     1  # PortingPortInApi
     2  
     3  All URIs are relative to *https://numbers.twilio.com*
     4  
     5  Method | HTTP request | Description
     6  ------------- | ------------- | -------------
     7  [**CreatePortingPortIn**](PortingPortInApi.md#CreatePortingPortIn) | **Post** /v1/Porting/PortIn | 
     8  [**DeletePortingPortIn**](PortingPortInApi.md#DeletePortingPortIn) | **Delete** /v1/Porting/PortIn/{PortInRequestSid} | 
     9  [**FetchPortingPortInFetch**](PortingPortInApi.md#FetchPortingPortInFetch) | **Get** /v1/Porting/PortIn/{PortInRequestSid} | 
    10  
    11  
    12  
    13  ## CreatePortingPortIn
    14  
    15  > NumbersV1PortingPortIn CreatePortingPortIn(ctx, optional)
    16  
    17  
    18  
    19  Allows to create a new port in request
    20  
    21  ### Path Parameters
    22  
    23  This endpoint does not need any path parameter.
    24  
    25  ### Other Parameters
    26  
    27  Other parameters are passed through a pointer to a CreatePortingPortInParams struct
    28  
    29  
    30  Name | Type | Description
    31  ------------- | ------------- | -------------
    32  **Body** | **map[string]interface{}** | 
    33  
    34  ### Return type
    35  
    36  [**NumbersV1PortingPortIn**](NumbersV1PortingPortIn.md)
    37  
    38  ### Authorization
    39  
    40  [accountSid_authToken](../README.md#accountSid_authToken)
    41  
    42  ### HTTP request headers
    43  
    44  - **Content-Type**: application/json
    45  - **Accept**: application/json
    46  
    47  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
    48  [[Back to Model list]](../README.md#documentation-for-models)
    49  [[Back to README]](../README.md)
    50  
    51  
    52  ## DeletePortingPortIn
    53  
    54  > DeletePortingPortIn(ctx, PortInRequestSid)
    55  
    56  
    57  
    58  Allows to cancel a port in request by SID
    59  
    60  ### Path Parameters
    61  
    62  
    63  Name | Type | Description
    64  ------------- | ------------- | -------------
    65  **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
    66  **PortInRequestSid** | **string** | The SID of the Port In request. This is a unique identifier of the port in request.
    67  
    68  ### Other Parameters
    69  
    70  Other parameters are passed through a pointer to a DeletePortingPortInParams struct
    71  
    72  
    73  Name | Type | Description
    74  ------------- | ------------- | -------------
    75  
    76  ### Return type
    77  
    78   (empty response body)
    79  
    80  ### Authorization
    81  
    82  [accountSid_authToken](../README.md#accountSid_authToken)
    83  
    84  ### HTTP request headers
    85  
    86  - **Content-Type**: Not defined
    87  - **Accept**: Not defined
    88  
    89  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
    90  [[Back to Model list]](../README.md#documentation-for-models)
    91  [[Back to README]](../README.md)
    92  
    93  
    94  ## FetchPortingPortInFetch
    95  
    96  > NumbersV1PortingPortInFetch FetchPortingPortInFetch(ctx, PortInRequestSid)
    97  
    98  
    99  
   100  Fetch a port in request by SID
   101  
   102  ### Path Parameters
   103  
   104  
   105  Name | Type | Description
   106  ------------- | ------------- | -------------
   107  **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
   108  **PortInRequestSid** | **string** | The SID of the Port In request. This is a unique identifier of the port in request.
   109  
   110  ### Other Parameters
   111  
   112  Other parameters are passed through a pointer to a FetchPortingPortInFetchParams struct
   113  
   114  
   115  Name | Type | Description
   116  ------------- | ------------- | -------------
   117  
   118  ### Return type
   119  
   120  [**NumbersV1PortingPortInFetch**](NumbersV1PortingPortInFetch.md)
   121  
   122  ### Authorization
   123  
   124  [accountSid_authToken](../README.md#accountSid_authToken)
   125  
   126  ### HTTP request headers
   127  
   128  - **Content-Type**: Not defined
   129  - **Accept**: application/json
   130  
   131  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
   132  [[Back to Model list]](../README.md#documentation-for-models)
   133  [[Back to README]](../README.md)
   134