Get a specific sensor attribute within location type.
get
/connectedWorker/clientapi/v2/orgs/{orgId}/locationTypes/{typeId}/sensorAttributes/{sensorAttributeId}
This operation retrieves a specific sensor attribute within location type.
Request
Path Parameters
-
orgId: string
Organization identifier
-
sensorAttributeId: string
Param that identifies sensor attribute in location type
-
typeId: string
Param that identifies type
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Specific sensor attribute in location type was successfully retrieved.
Root Schema : SensorAttribute
Type:
Show Source
object
-
dataType:
string
Allowed Values:
[ "BOOLEAN", "DATETIME", "INTEGER", "NUMBER", "STRING", "URI" ]
Data type for the sensor attributeExample:STRING
-
description(optional):
string
Detailed description of sensor attribute
-
displayName(optional):
string
User readable name for sensor attribute
-
id(optional):
string
Read Only:
true
The unique id of the objectExample:53
-
links(optional):
array links
-
name:
string
Minimum Length:
0
Maximum Length:255
Pattern:^\w+$
Name of the sensor attribute. Accepted are alphanumeric characters and underscore, max length is 255 charactersExample:windowTemperature
-
sensorAttribute(optional):
string
Read Only:
true
Name of the sensor attribute. Accepted are alphanumeric characters and underscore, max length is 255 charactersExample:windowTemperature
-
typeId:
string
Id of the typeExample:
123
-
unit(optional):
string
Unit of measurements for sensor attribute
Nested Schema : Link
Type:
Show Source
object
-
href:
string
The target resource's URI
-
rel:
string
Relation type