The article includes:
Update the custom fields for a single SIM. To update the IMEI, serial number, or model number use modifyDeviceCustomFieldWithOtherInfo.
Note: This call will only update the fields you send information for. It will not delete the information from other fields.
Request URL (production) | https://prismproapi.koretelematics.com/4/TransactionalAPI.svc/json/modifyDeviceCustomInfo |
Request URL (sandbox) | https://prismproapi.sandbox.koretelematics.com/4/TransactionalAPI.svc/json/modifyDeviceCustomInfo |
Request method | Post |
Request
Field | Data type | Mandatory | Min length | Max length | Description |
deviceNumber | string | Y | 11 | 20 | The SIM number or ICCID. |
customField1 | string | N | 20 | Custom field 1. | |
customField2 | string | N | 20 | Custom field 2. | |
customField3 | string | N | 20 | Custom field 3. | |
customField4 | string | N | 20 | Custom field 4. | |
customField5 | string | N | 20 | Custom field 5. | |
customField6 | string | N | 20 | Custom field 6. |
JSON request example
{
"custom" : "12345678912345678912",
"customField1" : "CustomerName",
"customField2" : "Sector of Business",
"customField3" : "Driver Name",
"customField4" : "Location 1",
"customField5" : "EmployeeID",
"customField6" : "Camera System"
}
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
}