ShiftRecoveryOut
device_uuidstring<uuid>required
device_idDevice Id (string)required
source_session_idstring<uuid>required
outcomeOutcome (string)required
Possible values: [created, replayed, superseded, cancelled]
reason object
anyOf
- string
- null
string
replacement object
anyOf
- ShiftRecoveryReplacementOut
- null
session_idstring<uuid>required
started_atstring<date-time>required
current objectrequired
is_activeIs Active (boolean)required
session_id object
anyOf
- string<uuid>
- null
string<uuid>
shift_statusShift Status (string)required
Possible values: [active, paused, off]
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_resumed_at object
anyOf
- string<date-time>
- null
string<date-time>
shift_ended_at object
anyOf
- string<date-time>
- null
string<date-time>
ShiftRecoveryOut
{
"device_uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"device_id": "string",
"source_session_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"outcome": "created",
"reason": "string",
"replacement": {
"session_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"started_at": "2024-07-29T15:51:28.071Z"
},
"current": {
"is_active": true,
"session_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"shift_status": "active",
"shift_started_at": "2024-07-29T15:51:28.071Z",
"shift_paused_at": "2024-07-29T15:51:28.071Z",
"shift_resumed_at": "2024-07-29T15:51:28.071Z",
"shift_ended_at": "2024-07-29T15:51:28.071Z"
}
}