The article includes:
This call swaps a SIM number and IMSI from an active device with a new device in stock. The current device goes to stock; the new device becomes active with features and plans from the current device.
URLs
Request URL (production) | https://prismproapi.koretelematics.com/4/TransactionalAPI.svc/json/simChangeDevices |
Request URL (sandbox) | https://prismproapi.sandbox.koretelematics.com/4/TransactionalAPI.svc/json/simChangeDevices |
Request method | Post |
Request
Field | Data type | Mandatory | Min length | Max length | Description |
currentDeviceNumber | string | Y | 11 | 20 | The current SIM number or ICCID. |
newDeviceNumber | string | Y | 11 | 20 | The current SIM number or ICCID. |
flagChangeCustomFields | boolean | Y | False or true. |
JSON request example
{
"currentDeviceNumber":"1234567891234567891",
"newDeviceNumber":"1234567891234567891",
"flagChangeCustomFields":"false""
}
Response
Parameter name | Data type | Min length | Max length | Description |
requestStatus | int | Request status code. | ||
trackingNumber | string | 7 | 50 | Tracking number. |
JSON response example
{
"d": {
"__type": "ProvisioningRequestTracking:https://PRiSMProAPI.koretelematics.com/types",
"requestStatus": 0,
"trackingNumber": "323226928"
}
}