The article includes:
Change a plan for a single active device for the next billing period.
Request URL (production) | https://prismproapi.koretelematics.com/4/TransactionalAPI.svc/json/modifyDevicePlanForNextPeriod |
Request URL (sandbox) | https://prismproapi.sandbox.koretelematics.com/4/TransactionalAPI.svc/json/modifyDevicePlanForNextPeriod |
Request method | Post |
Request
Field | Data type | Mandatory | Min length | Max length | Description |
deviceNumber | string | Y | 11 | 20 | The SIM number or ICCID. |
planCode | string | Y | 10 | 10 | The plan code of the plan to change to (either SMS or data). Use queryPlanCodesForNextPeriod to confirm your current plan codes. |
JSON request example
{
"deviceNumber":"1234567891234567891",
"planCode":"PLAN000001"
}
Response
Parameter name | Data type | Min length | Max length | Description |
requestStatus | int | Request status code (if not successful. | ||
d | int | Success. |
JSON response example
{
"d": 0
}