The article includes:
Update the custom fields for a single SIM including IMEI, serial number, and model number.
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/modifyDeviceCustomFieldWithOtherInfo |
Request URL (sandbox) | https://prismproapi.sandbox.koretelematics.com/4/TransactionalAPI.svc/json/modifyDeviceCustomFieldWithOtherInfo |
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. | |
imei | string | Y | 20 | ||
serialNumber | string | N | 255 | Refer to field requirements for custom fields. | |
modelNumber | string | N | 255 | Refer to field requirements for custom fields. |
JSON request example
{
"deviceNumber" : "12345678912345678912",
"customField1" : "CustomerName",
"customField2" : "Sector of Business",
"customField3" : "Driver Name",
"customField4" : "Location 1",
"customField5" : "EmployeeID",
"customField6" : "Camera System",
"imei" : "1234567891012345",
"serialNumber" :"",
"modelNumber" : ""
}
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
}