Get logged-in device of an employee.
get
/connectedWorker/clientapi/v2/employees/{employeeId}/loggedInDevices/{deviceId}
This operation retrieves device that is associated with an employee.
Request
Path Parameters
-
deviceId: string
Device identifier
-
employeeId: string
Employee identifier
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Logged-in device was successfully retrieved.
Root 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