IoT Stadium

API Documentation

Device

Device - GET Device DevEUI

Get

{{url_iot_backend}}/ext/devices_by_deveui/:id
{
	"key": "Content-Type",
	"value": "application/json"
},
{
	"key": "Authorization",
	"value": "Bearer {{token}}"
}

Parameter

Field Type Description
id Number

The DevEUI ID

{
	"key": "id",
	"value": "78549FAAA7AD6785"
}                                            
{
    "message": "success",
    "code": 200,
    "data": {
        "devices": {
            "id": 566,
            "device_name": "Testing",
            "device_type": "",
            "device_is_public": 0,
            "tenant_id": 37,
            "label": "Testing",
            "description": "testing only testing only testing only testing only testing only",
            "created_at": "2024-04-30 06:19:17",
            "updated_at": "2024-07-22 07:09:56",
            "last_seen": null,
            "location_id": 163,
            "uuid": "2b937919-abbf-4e6b-9582-1de39d2b64fc",
            "device_connectivity_type_id": 3,
            "device_network_id": 2,
            "deveui": "78549FAAA7AD6785",
            "is_collection": 0,
            "device_type_id": 222,
            "hardware_id": null,
            "group_device": [
                {
                    "id": 24,
                    "group_device_id": 24,
                    "device_id": 566,
                    "created_at": "2021-03-01 01:50:50",
                    "updated_at": "2021-03-01 01:50:50",
                    "deleted_at": null,
                    "group_name": "test override",
                    "description": "testing override",
                    "address": null,
                    "latitude": null,
                    "longitude": null,
                    "tenant_id": 37
                }
            ],
            "customers": [],
            "location_custom_field": [],
            "telemetry_index": {
                "uuid": "2b937919-abbf-4e6b-9582-1de39d2b64fc",
                "id": 387,
                "connection_status": []
            },
            "location": null,
            "device_image_default": [
                {
                    "id": 152,
                    "device_id": 566,
                    "url": "https://s3-sea01.wowrack.cloud/maps-dev/device-image-dev/r1BdcFuzOETN2LrS2cc2Z2Jqd2LI6uzVqvssixfo.jpg",
                    "anotation": "",
                    "is_default": 1,
                    "deleted_at": null,
                    "created_at": "2024-07-16 06:50:18",
                    "updated_at": "2024-07-16 06:50:38"
                }
            ],
            "device_connectivity_type": {
                "id": 3,
                "name": "LoRaWAN"
            },
            "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
}