api/v1/orders/simswap
Method: POST https://developers.mobilemanager.co.uk/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": "cfb6180c-5b4e-4f67-a2a1-b696f16ec5f6", "NewSimId": "b4a50c0b-e79f-4497-91cd-5f0f33e58321", "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>b4a50c0b-e79f-4497-91cd-5f0f33e58321</NewSimId> <OriginalSimId>cfb6180c-5b4e-4f67-a2a1-b696f16ec5f6</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. |
Response Formats
application/json, text/json
Sample:
{ "OrderId": "1bba91a5-fd66-4344-ae8c-c4d0ec78c00d", "Created": "2025-01-11T19:31:37.1082009+00:00", "State": 0 }
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" />