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": "247b12d7-bdcc-4904-ac56-3e8f74ae9d1b", "NewSimId": "764b0e22-3445-4e1b-9a80-6444131ca6b2", "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>764b0e22-3445-4e1b-9a80-6444131ca6b2</NewSimId> <OriginalSimId>247b12d7-bdcc-4904-ac56-3e8f74ae9d1b</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": "cc9d723b-aab7-4052-bb67-1f3baacb0ff1", "Created": "2025-02-19T07:02:35.3856577+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" />