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": "ea112e04-f802-4ddb-9c96-3ccf55328721", "NewSimId": "e27d3c2c-8c5b-43ca-a3c1-a17f77ce7630", "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>e27d3c2c-8c5b-43ca-a3c1-a17f77ce7630</NewSimId> <OriginalSimId>ea112e04-f802-4ddb-9c96-3ccf55328721</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": "014d92de-602f-44ff-87a0-7b331476c3e8", "Created": "2024-09-04T13:13:02.0818929+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" />