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
CreateSimSwapOrderModelName | 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": "5db54db7-6aa9-4a1b-9205-e82640970828", "NewSimId": "c1cbae8c-8381-4f8c-91fe-8b04a1409c51", "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>c1cbae8c-8381-4f8c-91fe-8b04a1409c51</NewSimId> <OriginalSimId>5db54db7-6aa9-4a1b-9205-e82640970828</OriginalSimId> </CreateSimSwapOrderModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
OrderResponseModelName | 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": "78ba1f68-8216-485f-b6e2-f88a0d77fb81", "Created": "2025-07-01T12:05:58.6347038+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>