IoT Stadium

API Documentation

Dashboard

Dashboard - GET Dashboard Detail

Get

{{url_iot_backend}}/ext/dashboards/:id
{
	"key": "Content-Type",
	"value": "application/json"
},
{
	"key": "Authorization",
	"value": "Bearer {{token}}"
},
{
    "message": "success",
    "code": 200,
    "data": {
        "dashboards": {
            "id": 210,
            "dashboard_name": "test dashboard postman update",
            "is_public": 1,
            "is_home": 0,
            "user_id": 229,
            "created_at": "2024-07-15 07:37:58",
            "description": "test dashboard",
            "tenant_id": 182,
            "widget_order": "",
            "token": "I4AqnnN4ElWIJkS5Efcr7edqDSLaN2jCehCQrnBkGjgBcdoSOfhnIZ81twoqH2BFENqKhszX9IdpQRpN",
            "is_owner": 1,
            "tenants": {
                "id": 182,
                "tenant_name": "alwi",
                "tenant_address": null,
                "created_at": "2024-06-12 06:52:38",
                "updated_at": "2024-07-15 07:40:02",
                "deleted_at": null,
                "user_id_owner": 229,
                "is_active": 1,
                "street_address": "surabaya",
                "country_address": "Indonesia",
                "state_address": "Jawa Timur",
                "city_address": "Kota Surabaya",
                "postal_code_address": "312922",
                "country_code_phone": null,
                "area_code_phone": null,
                "local_phone_number": null,
                "country_code_mobile_phone": "+62",
                "mobile_phone_number": "82138183122312321",
                "country_code": "ID",
                "state_code": "11",
                "city_code": "178",
                "timezone_id": 273,
                "slug": "alwi",
                "description": "test",
                "token_api": "",
                "package_id": 1,
                "auto_create_ttn_app": 0,
                "telemetry_counter": 0,
                "last_telemetry_counted": "2024-07-15 07:40:02",
                "enable_aggregation_interval": 0,
                "company_id": 1,
                "is_owner_company": true
            },
            "created_by": {
                "first_name": "alwi",
                "last_name": "wowrack",
                "id": 229,
                "email": "alwi@wowrack.com",
                "user_type": {
                    "id": 2,
                    "name": "owner"
                }
            }
        }
    }
}
{
    "message": "data not found",
    "errors": [
        {
            "message": "data not found",
            "field": "dashboard"
        }
    ],
    "code": 404
}