Get employee sensor device associations.

get

/connectedWorker/clientapi/v2/orgs/{orgId}/employeeTypes/{typeId}/sensorAttributes/{sensorAttributeId}/devices

This operation retrieves associations between employee type, sensor attribute and device. Only users having role IoTCWSupervisor or higher can call this API.

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Employee sensor device associations were successfully retrieved.
Body ()
Root Schema : EmployeeSensorDevices
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : EmployeeSensorDevice
Type: object
Show Source
  • Id of the device. The device must be activated and must support device model associated with the type and attribute
    Example: 21E15228-0C54-47E6-AC7F-41A0A8F8D10E
  • Minimum Length: 0
    Maximum Length: 1000
    Device model identifier
    Example: urn:my:company:device:model
  • Id of the device. The device must be activated and must support device model associated with the type and attributeDeprecated. Use deviceId property.
    Example: 21E15228-0C54-47E6-AC7F-41A0A8F8D10E
  • links
  • Minimum Length: 0
    Maximum Length: 500
    Message attribute identifier
    Example: myAttributeName
  • Minimum Length: 0
    Maximum Length: 1000
    Device message identifier. The message must have parent identified by value in deviceModelUrn. If not provided, it os automatically composed from value from 'deviceModelUrn' plus ':attributes'
    Example: urn:my:company:device:model:message
  • Id of the sensor attribute
    Example: 51
  • Id of the type
    Example: 50
Back to Top