IoT Stadium

API Documentation

Telemetry

Telemetry - GET Telemetry Profile List

Get

{{url_iot_backend}}/ext/telemetry-profile
    {
      "key": "Content-Type",
      "value": "application/json"
    },
    {
      "key": "Authorization",
      "value": "Bearer {{token}}"
    }
{
    "message": "success",
    "code": 200,
    "data": {
        "telemetry_profiles": [
            {
                "id": 63,
                "telemetry_profile_name": "test new profile comparison condition",
                "telemetry_profile_type_id": 2,
                "conversion_properties": {
                    "min": null,
                    "max": null,
                    "conversion_properties": {
                        "comparator": "gte",
                        "comparison": [
                            {
                                "wording": "good",
                                "comparator": "gte",
                                "value": "1"
                            }
                        ]
                    },
                    "conversion_properties_word": [
                        "X >= 1 : good"
                    ]
                },
                "tenant_id": 0,
                "unit": "°K",
                "telemetry_profile_type": {
                    "id": 2,
                    "telemetry_profile_type_name": "comparison condition"
                }
            },
            {
                "id": 62,
                "telemetry_profile_name": "test new profile range value",
                "telemetry_profile_type_id": 0,
                "conversion_properties": {
                    "min": "1",
                    "max": "5",
                    "conversion_properties": null,
                    "conversion_properties_word": null
                },
                "tenant_id": 0,
                "unit": "°C",
                "telemetry_profile_type": {
                    "id": 0,
                    "telemetry_profile_type_name": "range values"
                }
            },
{
                "id": 61,
                "telemetry_profile_name": "test new profile",
                "telemetry_profile_type_id": 1,
                "conversion_properties": {
                    "min": null,
                    "max": null,
                    "conversion_properties": [
                        "+",
                        "1"
                    ],
                    "conversion_properties_word": [
                        "+",
                        "1"
                    ]
                },
                "tenant_id": 0,
                "unit": "°",
                "telemetry_profile_type": {
                    "id": 1,
                    "telemetry_profile_type_name": "conversion"
                }
            },
            {
                "id": 60,
                "telemetry_profile_name": "test profile untuk admin",
                "telemetry_profile_type_id": 1,
                "conversion_properties": {
                    "min": null,
                    "max": null,
                    "conversion_properties": [
                        "+",
                        "11"
                    ],
                    "conversion_properties_word": [
                        "+",
                        "11"
                    ]
                },
                "tenant_id": 0,
                "unit": "A",
                "telemetry_profile_type": {
                    "id": 1,
                    "telemetry_profile_type_name": "conversion"
                }
            },
            {
                "id": 59,
                "telemetry_profile_name": "test profile untuk admin",
                "telemetry_profile_type_id": 1,
                "conversion_properties": {
                    "min": null,
                    "max": null,
                    "conversion_properties": [
                        "+",
                        "11"
                    ],
                    "conversion_properties_word": [
                        "+",
                        "11"
                    ]
                },
                "tenant_id": 37,
                "unit": "A",
                "telemetry_profile_type": {
                    "id": 1,
                    "telemetry_profile_type_name": "conversion"
                }
            },
	       ]
           }
}