Retrieve a list of port-in based on the search parameters, you can also specify view here to get less detail
Search by the status of the order.
| Enum Value | Description |
|---|---|
| ORDER_BUILDING | The order is being created |
| PENDING | The order is pending, and can be updated |
| CONFIRMED | The order is confirmed, and can not be updated but if onDemand is true it can be activated |
| COMPLETED | The order is completed, the port has completed and the numbers are active |
| PENDING_CANCELATION | The order is in the process of being cancelled. During this time you cannot submit the same numbers on a new order |
| CANCELED | The order is cancelled, either by the customer or by the system |
Search by the created date. This query sets the start date of the search period. Formatted as ISO-8601: YYYY-MM-DDThh:mm:ss.SSSZ.
Search by the created date. This query sets the end date of the search period. Formatted as ISO-8601: YYYY-MM-DDThh:mm:ss.SSSZ.
Search by the firm order confirmation. This query sets the start date of the search period. Formatted as ISO-8601: YYYY-MM-DDThh:mm:ss.SSSZ.
Search by the firm order confirmation. This query sets the end date of the search period. Formatted as ISO-8601: YYYY-MM-DDThh:mm:ss.SSSZ.
- v1.0 of the porting APIhttps://porting.api.sinch.com/v1/projects/YOUR_project_id/orders/portIns
curl -i -X GET \
-u '<username>:<password>' \
'https://porting.api.sinch.com/v1/projects/YOUR_project_id/orders/portIns?orderId=0&orderStatus=PENDING&customerOrderReference=string&createdDateStart=2024-09-24T12%3A00%3A00Z&createdDateEnd=2024-09-24T12%3A00%3A00Z&phoneNumber=string&focStartDate=2024-09-24T12%3A00%3A00Z&focEndDate=2024-09-24T12%3A00%3A00Z&pageSize=1&page=string'{ "orders": [ { … } ], "page": 0, "totalPages": 0, "pageSize": 0, "totalItems": 0 }