1.URL
http://124.223.60.234:8181/spartan/device/queryUserRegisterDeviceNums
2.Request parameters
2.1.Example
{
"userId":"21"
}
2.2.Parameter Description
Field | Type | Description | Is it necessary |
---|---|---|---|
userId | String | user account id | Yes |
3.Response results
3.1.Response example
{
"code": 200,
"message": "Operation succeeded",
"data": [
{
"deviceId": "1957EE0C69614AB3B3AF2755103B0AB6",
"serialNum": "344050190425",
"deviceName": "344050190425",
"moduleId": "344050190425",
"iccid": "344050190425",
"modelId": 100,
"model": "VM-400"
},
{
"deviceId": "589D6C6B4678434FB962971BA8513432",
"serialNum": "162070003356",
"deviceName": "162070003356",
"moduleId": "162070003356",
"iccid": "162070003356",
"modelId": 100,
"model": "VM-400"
},
{
"deviceId": "5FAEC559FA18489B97581877FD7FA29B",
"serialNum": "162070003357",
"deviceName": "162070003357",
"moduleId": null,
"iccid": null,
"modelId": 100,
"model": "VM-400"
},
{
"deviceId": "6553C906CC70430C9973D8091E5B02EC",
"serialNum": "1620700033",
"deviceName": "1620700033",
"moduleId": null,
"iccid": null,
"modelId": 100,
"model": "VM-400"
},
{
"deviceId": "84B55C64263F4DCBB4EB519ADBC0BF13",
"serialNum": "162070003378",
"deviceName": "162070003378",
"moduleId": null,
"iccid": null,
"modelId": 100,
"model": "VM-400"
}
]
}
3.2.Explanation of response results
Field | Type | Description |
---|---|---|
code | int | Return Status(200:Succeed;102:Parameter error;105:request failure;106:Data does not exist) |
message | String | Return Status Description |
data | List | Response result body |
data Description
Field | Type | Description |
---|---|---|
deviceId | String | The unique tag generated after the device is registered with the system by the user |
serialNum | String | device serial number (12 bits) |
deviceName | String | User defined device name |
moduleId | String | The ID of the device communication module (IMEI) |
iccid | String | ICCID |
modelId | int | System defined device type ID |
model | String | Device model |
4.Request by postman
作者:admin 创建时间:2023-06-03 15:18
最后编辑:admin 更新时间:2023-06-23 13:38
最后编辑:admin 更新时间:2023-06-23 13:38