The article includes:
This call transitions a SIM from test or ready state into another valid state. This is most commonly used to put a SIM into active state after it has completed testing.
URLs
Request URL (production) | https://prismproapi.koretelematics.com/4/TransactionalAPI.svc/json/stateTransition |
Request URL (sandbox) | https://prismproapi.sandbox.koretelematics.com/4/TransactionalAPI.svc/json/stateTransition |
Request method | Post |
Request
Field | Data type | Mandatory | Min length | Max length | Description |
device number | string | Y | 11 | 20 | The SIM number or ICCID. |
tostate | string | Y | The state to change the SIM to. |
JSON request example
{
"deviceNumber":"1234567891234567891",
"toState":"Active"
}
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": "12345678912"
}
}