DeviceOut
idstring<uuid>required
device_idDevice Id (string)required
nameName (string)required
device_typeDevice Type (string)required
is_activeIs Active (boolean)required
shift_statusShift Status (string)required
shift_started_at object
anyOf
- string<date-time>
- null
string<date-time>
shift_paused_at object
anyOf
- string<date-time>
- null
string<date-time>
shift_ended_at object
anyOf
- string<date-time>
- null
string<date-time>
shift_resumed_at object
anyOf
- string<date-time>
- null
string<date-time>
last_location object
anyOf
- object
- null
object
last_location_time object
anyOf
- string<date-time>
- null
string<date-time>
last_heading object
anyOf
- number
- null
number
current_session_notesCurrent Session Notes (string)
Default value:
in_geofence_idsstring[]
Default value:
[]in_geofence_entries object
property name*string
created_atstring<date-time>required
updated_atstring<date-time>required
DeviceOut
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"device_id": "string",
"name": "string",
"device_type": "string",
"is_active": true,
"shift_status": "string",
"shift_started_at": "2024-07-29T15:51:28.071Z",
"shift_paused_at": "2024-07-29T15:51:28.071Z",
"shift_ended_at": "2024-07-29T15:51:28.071Z",
"shift_resumed_at": "2024-07-29T15:51:28.071Z",
"last_location": {},
"last_location_time": "2024-07-29T15:51:28.071Z",
"last_heading": 0,
"current_session_notes": "",
"in_geofence_ids": [
"string"
],
"in_geofence_entries": {},
"created_at": "2024-07-29T15:51:28.071Z",
"updated_at": "2024-07-29T15:51:28.071Z"
}