Telemetry Profile - PUT Update Telemetry Profile Conversion
Put
{{url_iot_backend}}/ext/telemetry-profile/:id
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{token}}"
}
Parameter
Field | Type | Description |
---|---|---|
id | Integer |
ID of the profile to update |
{
"unit": "°F", // requierd
"conversion_properties": { // required
"min": null,
"max": null,
"conversion_properties": [
"+",
"1",
"*",
"1",
"*",
"1"
]
},
"telemetry_profile_name": "test profile update", // required
"telemetry_profile_type_id": 1 // required
}
{
"message": "telemetry_profile updated",
"data": {
"id": 68
},
"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."
]
}