IoT Stadium

API Documentation

Telemetry Profile

Telemetry Profile - POST Add Telemetry Profile Range Value

Adds a range-based interpretation to a telemetry type (e.g., 0–20 = "LOW", 21–80 = "NORMAL", 81–100 = "HIGH").

Post
https://api.iotstadium.com/ext/telemetry-profile
    {
      "key": "Content-Type",
      "value": "application/json"
    },
    {
      "key": "Authorization",
      "value": "Bearer {{token}}"
    }

Parameter

Field Type Description
unit String

Unit of your telemetry

conversion_properties Array

Contain the range of minimum and maximum value that you want to convert

telemetry_profile_name String

The name for your telemetry profile

telemetry_profile_type_id Integer

ID for the telemetry profile

{
    "unit": "%",
    "conversion_properties": {
        "min": "10",
        "max": "50",
        "conversion_properties": null
    },
    "telemetry_profile_name": "range value percentage",
    "telemetry_profile_type_id": 0
}                                            
{
    "message": "Telemetry Profile created",
    "code": 200
}
{
    "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."
    ]
}