Расписание · Чтение
Расписание · Просмотр · Мои · Смены
schedule_get_my_shift
Попробуйте три запроса
Получить данные
- Вы указываетеРасписание
- ПомощникЧтение
- Вы получаетеПоля ответа
Запрос в чат
Для задачи «Расписание / Просмотр / Мои / Смены» выполни чтение по выбранной записи (расписание). Выведи кратко: расписание, версия записи.
- scheduleId
- Расписание
- revision
- Версия записи
- employeeId
- Сотрудник
Задать параметры
- Вы указываетеРасписание
- ПомощникСверка выбора
- Вы получаетеТочный объект
Запрос в чат
Покажи, как получить «Расписание / Просмотр / Мои / Смены» на учебном примере с scheduleId = DEMO-101. Объясни, какие ещё данные нужны и как будет выглядеть ответ.
- scheduleId
- DEMO-101
Разобрать ответ
- Вы указываетеПолученный ответ
- ПомощникРазбор значений
- Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Расписание / Просмотр / Мои / Смены» объясни расписание, версия записи. Отметь отсутствующие значения.
- scheduleId
- Расписание
- revision
- Версия записи
- employeeId
- Сотрудник
Как работает действие
Это чтение. Выберите запись или задайте фильтры в доступной компании.
Описание разработчика
Read one assigned shift from the existing Schedule collection. The authenticated employee must be its document.employee. startAt/finishAt bound calendar dates; timeStart/timeFinish repeat each day and are not recorded attendance.
Параметры запроса
- scheduleId
- Existing assigned Schedule type=smena ID. обязательно по схеме · string · до символов 128
Что вернёт команда
- scheduleId
- Canonical assigned Schedule ID. обязательно по схеме · string · до символов 128
- revision
- Current Schedule document revision for confirmation or manager update. обязательно по схеме · string
- employeeId
- Assigned native employee ID. обязательно по схеме · string · до символов 128
- locationId
- Native establishment ID. обязательно по схеме · string · до символов 128
- startAt
- Start of the assigned local calendar date range, or null on an incomplete legacy record. обязательно по схеме · null
- finishAt
- End of the assigned local calendar date range, inclusive by local date, or null on an incomplete record. обязательно по схеме · null
- timeStart
- Planned local daily shift start, or null when absent. обязательно по схеме · string / null
- timeFinish
- Planned local daily shift end, or null when absent. обязательно по схеме · string / null
- status
- Canonical stored assignment status; published awaits employee confirmation. обязательно по схеме · string
- notes
- Stored manager shift notes. обязательно по схеме · string
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"scheduleId": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_~:@+.-]+$",
"description": "Existing assigned Schedule type=smena ID."
}
},
"required": [
"scheduleId"
],
"additionalProperties": false
}Выход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"scheduleId": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_~:@+.-]+$",
"description": "Canonical assigned Schedule ID."
},
"revision": {
"type": "string",
"description": "Current Schedule document revision for confirmation or manager update."
},
"employeeId": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_~:@+.-]+$",
"description": "Assigned native employee ID."
},
"locationId": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_~:@+.-]+$",
"description": "Native establishment ID."
},
"startAt": {
"anyOf": [
{
"$ref": "#/$defs/_mcp0"
},
{
"type": "null"
}
],
"description": "Start of the assigned local calendar date range, or null on an incomplete legacy record."
},
"finishAt": {
"anyOf": [
{
"$ref": "#/$defs/_mcp0"
},
{
"type": "null"
}
],
"description": "End of the assigned local calendar date range, inclusive by local date, or null on an incomplete record."
},
"timeStart": {
"description": "Planned local daily shift start, or null when absent.",
"type": [
"string",
"null"
]
},
"timeFinish": {
"description": "Planned local daily shift end, or null when absent.",
"type": [
"string",
"null"
]
},
"status": {
"type": "string",
"description": "Canonical stored assignment status; published awaits employee confirmation."
},
"notes": {
"type": "string",
"description": "Stored manager shift notes."
}
},
"required": [
"scheduleId",
"revision",
"employeeId",
"locationId",
"startAt",
"finishAt",
"timeStart",
"timeFinish",
"status",
"notes"
],
"additionalProperties": false,
"$defs": {
"_mcp0": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
}
}
}