POST request to swap to a new tracker
Request: tracker_id, new module_id, new iccid, new serial number
Response: Result Code, Result Message

1.URL

http://124.223.60.234:8181/spartan/device/updateDeviceModuleId

2.Request parameters

2.1.Example

{
    "tracker_id": "589D6C6B4678434FB962971BA8513432",
    "module_id": "861413051017004",
    "iccid": "99999861413051017004",
    "serial_number":"413051017004"
}

2.2.Parameter Description

Field Type Description Is it necessary
tracker_id String The unique tag generated after the device is registered with the system by the user Yes
module_id String The new ID of the device communication module (IMEI) Yes
iccid String ICCID Yes
serial_number String device’s serial number YES

3.Response results

3.1.Response example

{
    "code": 200,
    "message": "Operation succeeded",
    "data": null
}

4.Request by postman

作者:admin  创建时间:2023-06-23 13:36
最后编辑:admin  更新时间:2023-06-23 13:38