Расписание · Чтение
Расписание · Список · Мои · Смены
schedule_list_my_shifts
Попробуйте три запроса
Получить данные
- Вы указываетеОбъект
- ПомощникЧтение
- Вы получаетеПоля ответа
Запрос в чат
Для задачи «Расписание / Список / Мои / Смены» выполни чтение в текущей компании. Выведи кратко: список позиций, truncated.
- items
- Список позиций
- truncated
- Поле ответа
- nextCursor
- Следующая страница
Следующая страница
- Вы указываетеПредыдущий ответ
- ПомощникПродолжение
- Вы получаетеСледующая страница
Запрос в чат
Продолжи «Расписание / Список / Мои / Смены» с позиции прошлого ответа. Сохрани фильтры и размер страницы 3. Покажи новые строки отдельно.
Страница 1До 3 строк
Страница 2Продолжение
Разобрать ответ
- Вы указываетеПолученный ответ
- ПомощникРазбор значений
- Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Расписание / Список / Мои / Смены» объясни список позиций, truncated. Отметь отсутствующие значения.
- items
- Список позиций
- truncated
- Поле ответа
- nextCursor
- Следующая страница
Как работает действие
Это чтение. Выберите запись или задайте фильтры в доступной компании. При постраничном чтении используйте продолжение ответа с теми же фильтрами.
Описание разработчика
List the authenticated employee’s assigned Schedule type=smena records in stable document-ID pages, including multi-day date ranges and daily local times. Continue with nextCursor; this does not read actual clock-in/out.
Параметры запроса
- limit
- Максимальное число элементов на этой странице. обязательно по схеме · integer · по умолчанию 20 · минимум 1 · максимум 50
- cursor
- Продолжение из предыдущего ответа при тех же фильтрах. необязательно · string · до символов 220
Что вернёт команда
- items
- Записи, которые вернул этот запрос. обязательно по схеме · array
- truncated
- Whether another source page may exist. обязательно по схеме · boolean
- nextCursor
- Курсор для получения следующей страницы. обязательно по схеме · string / null
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"limit": {
"default": 20,
"description": "Maximum assigned shifts to return, from 1 to 50.",
"type": "integer",
"minimum": 1,
"maximum": 50
},
"cursor": {
"description": "Opaque continuation cursor from a previous schedule_list_my_shifts page.",
"type": "string",
"maxLength": 220
}
},
"required": [
"limit"
],
"additionalProperties": false
}Выход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"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
},
"description": "Assigned shifts visible to this employee."
},
"truncated": {
"type": "boolean",
"description": "Whether another source page may exist."
},
"nextCursor": {
"description": "Opaque continuation cursor, or null when the source is exhausted.",
"type": [
"string",
"null"
]
}
},
"required": [
"items",
"truncated",
"nextCursor"
],
"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))$"
}
}
}