Get Asset status Thresholds
GET/organizations/:organizationId/assets/:assetId/status-thresholds
Get asset status thresholds
Request
Path Parameters
organizationId stringrequired
The ID of organization.
assetId stringrequired
The ID of the asset.
Responses
- 200
- 401
- 403
- 404
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
- Array [
- ]
data objectrequired
Data of the asset threshold.
statusThresholds objectrequired
critical object[]required
property stringrequired
symbol stringrequired
valueDataType stringrequired
value numberrequired
operator string
warning object[]required
property stringrequired
symbol stringrequired
valueDataType stringrequired
value numberrequired
operator string
{
"data": {
"statusThresholds": {
"critical": [
{
"property": "string",
"symbol": "string",
"valueDataType": "string",
"value": 0,
"operator": "string"
}
],
"warning": [
{
"property": "string",
"symbol": "string",
"valueDataType": "string",
"value": 0,
"operator": "string"
}
]
}
}
}
{
"data": {
"statusThresholds": {
"critical": [
{
"property": "Temperature",
"symbol": ">",
"valueDataType": "integer",
"value": 40,
"operator": "AND"
},
{
"property": "Current",
"symbol": ">",
"valueDataType": "float",
"value": 10,
"operator": "AND"
}
],
"warning": [
{
"property": "Temperature",
"symbol": "<",
"valueDataType": "integer",
"value": 40,
"operator": "AND"
},
{
"property": "Current",
"symbol": "<",
"valueDataType": "float",
"value": 10,
"operator": "AND"
}
]
}
}
}
The request has not permission.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The request has not permission.
message stringrequired
The request has not permission message.
{
"error": "string",
"message": "string"
}
{
"error": "Unauthenticated",
"message": "Authentication is required and has failed or has not yet been provided."
}
The request has not permission.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The request has not permission.
message stringrequired
The request has not permission message.
{
"error": "string",
"message": "string"
}
{
"error": "Forbidden",
"message": "Access to the requested resource is forbidden."
}
The resource hasn't found.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The resource hasn't found.
message stringrequired
The resource hasn't found message.
{
"error": "string",
"message": "string"
}
{
"error": "ResourceNotFound",
"message": "The requested resource could not be found."
}
Loading...