Device - GET Device Hardware ID
Get
{{url_iot_backend}}/ext/devices_by_hardware_id/:hardwareId
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{token}}"
}
Parameter
Field | Type | Description |
---|---|---|
hardwareId | Number |
Device hardware ID |
{
"message": "success",
"code": 200,
"data": {
"devices": {
"id": 627,
"device_name": "device baru",
"device_type": "",
"device_is_public": 0,
"tenant_id": 37,
"label": null,
"description": "testing",
"created_at": "2024-07-03 16:39:54",
"updated_at": "2024-07-12 08:03:08",
"last_seen": null,
"location_id": 201,
"uuid": "a95ad3b3-fa7b-4c1f-b209-96377674695e",
"device_connectivity_type_id": 5,
"device_network_id": 2,
"deveui": "",
"is_collection": 0,
"device_type_id": 54,
"hardware_id": "65446f468f46f764",
"group_device": [
{
"id": 42,
"group_device_id": 42,
"device_id": 627,
"created_at": "2022-07-12 07:21:28",
"updated_at": "2022-07-12 07:21:28",
"deleted_at": null,
"group_name": "test group",
"description": "test group",
"address": null,
"latitude": null,
"longitude": null,
"tenant_id": 37
}
],
"customers": [],
"location_custom_field": [],
"telemetry_index": {
"uuid": "a95ad3b3-fa7b-4c1f-b209-96377674695e",
"id": 461,
"connection_status": []
},
"location": {
"location_name": "mall",
"description": "",
"id": 201
},
"device_image_default": [],
"device_connectivity_type": {
"id": 5,
"name": "BLE"
},
"device_network": {
"id": 2,
"name": "Helium"
},
"device_collection_detail": null,
"device_thethings": null
}
}
}
{
"message": "data not found",
"errors": [
{
"message": "data not found",
"field": "device"
}
],
"code": 404
}