api/v1/orders/simswap
Method: POST https://simportal-api.azurewebsites.net/api/v1/orders/simswap
Summary
Create a Sim Swap order
Request Information
URI Parameters
None.
Body Parameters
The SimSwapOrderModel contains the original SIM and the new SIM that will be swapped against
CreateSimSwapOrderModel| Name | Description | Type | Additional information |
|---|---|---|---|
| OriginalSimId | globally unique identifier |
None. |
|
| NewSimId | globally unique identifier |
None. |
|
| Reason | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"OriginalSimId": "d10da9ab-9bd2-4b62-a115-43109efb8870",
"NewSimId": "ab03480f-7a33-42a8-bd21-3f99eebb10fb",
"Reason": "sample string 3"
}
application/xml, text/xml
Sample:
<CreateSimSwapOrderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SimPortalApi.Models.Orders"> <Reason>sample string 3</Reason> <NewSimId>ab03480f-7a33-42a8-bd21-3f99eebb10fb</NewSimId> <OriginalSimId>d10da9ab-9bd2-4b62-a115-43109efb8870</OriginalSimId> </CreateSimSwapOrderModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
OrderResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderId | globally unique identifier |
None. |
|
| Created | date |
None. |
|
| State | OrderState |
None. |
|
| OrderTimescale | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"OrderId": "f52d71b4-c7f1-4b37-89ac-cfc23519ecab",
"Created": "2025-10-23T14:55:36.782231+00:00",
"State": 0,
"OrderTimescale": "sample string 3"
}
application/xml, text/xml
Sample:
<OrderResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SimPortalApi.Models.Orders"> <OrderTimescale>sample string 3</OrderTimescale> </OrderResponseModel>