Get devices that an employee is currently logged in.
get
/connectedWorker/clientapi/v2/employees/{employeeId}/loggedInDevices
This operation retrieves devices associated with the employee.
Request
Path Parameters
-
employeeId: string
Employee identifier
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Employee's logged-in devices were successfully retrieved.
Root Schema : Devices
Type:
Show Source
object
-
items:
array items
-
links(optional):
array links
Read Only:
true
Nested Schema : items
Type:
Show Source
array
-
Array of:
object Discriminator: type
Discriminator:
{ "propertyName":"type" }
Nested Schema : Discriminator: type
Type:
Show Source
object
-
deviceId:
string
Id of the device. The device must be activated and must support device model(s) associated with CW app.Example:
21E15228-0C54-47E6-AC7F-41A0A8F8D10E
-
id(optional):
string
Id of the device. The device must be activated and must support device model(s) associated with CW app.Deprecated. Use deviceId property.Example:
21E15228-0C54-47E6-AC7F-41A0A8F8D10E
-
links(optional):
array links
-
smart(optional):
boolean
Read Only:
true
Flag to indicating whether the device is smart or notExample:true
-
type(optional):
string
Allowed Values:
[ "SMART", "TRACKING", "SENSOR", "SMART, TRACKING, SENSOR" ]
Type associated with the deviceExample:SMART
Nested Schema : Link
Type:
Show Source
object
-
href:
string
The target resource's URI
-
rel:
string
Relation type