IoT Stadium

API Documentation

Telemetry Profile

Telemetry Profile - GET Telemetry Profile

Get

{{url_iot_backend}}/ext/telemetry-profile
{
	"message": "success",
	"code": 200,
	"data": {
	"telemetry_profiles": [
		{
			"id": 64,
			"telemetry_profile_name": "test profile",
			"telemetry_profile_type_id": 1,
			"conversion_properties": {
				"min": null,
				"max": null,
				"conversion_properties": [
					"+",
					"1",
					"*",
					"1",
					"*",
					"1"
				],
				"conversion_properties_word": [
					"+",
					"1",
					"*",
					"1",
					"*",
					"1"
				]
			},
				"tenant_id": 37,
				"unit": "°F",
				"telemetry_profile_type": {
					"id": 1,
					"telemetry_profile_type_name": "conversion"
				}
		},
		{
		"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"
				]
		}
	}
}
{
    "telemetry_profile_name": [
        "The telemetry profile name field is required."
    ],
    "telemetry_profile_type_id": [
        "The telemetry profile type id field is required."
    ],
    "conversion_properties": [
        "The conversion properties field is required."
    ],
    "unit": [
        "The unit field is required."
    ]
}