MCP Control
Сотрудники · Чтение

Персонал · Просмотр · Сотрудники · Панели

workforce_get_employee_dashboard
Контактные карточки и телефон

Попробуйте три запроса

Получить данные
  1. Вы указываетеСотрудник
  2. ПомощникЧтение
  3. Вы получаетеПоля ответа
Запрос в чат
Для задачи «Персонал / Просмотр / Сотрудники / Панели» выполни чтение по выбранной записи (сотрудник). Выведи кратко: сотрудник, workedMinutes.
Что искать в ответе
employeeId
Сотрудник
workedMinutes
Поле ответа
shiftCount
Поле ответа
Задать параметры
  1. Вы указываетеСотрудник
  2. ПомощникСверка выбора
  3. Вы получаетеТочный объект
Запрос в чат
Покажи, как получить «Персонал / Просмотр / Сотрудники / Панели» на учебном примере с employeeId = DEMO-101. Объясни, какие ещё данные нужны и как будет выглядеть ответ.
Фрагмент учебных параметров
employeeId
DEMO-101
Разобрать ответ
  1. Вы указываетеПолученный ответ
  2. ПомощникРазбор значений
  3. Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Персонал / Просмотр / Сотрудники / Панели» объясни сотрудник, workedMinutes. Отметь отсутствующие значения.
Поля для проверки
employeeId
Сотрудник
workedMinutes
Поле ответа
shiftCount
Поле ответа
Как работает действие

Это чтение. Выберите запись или задайте фильтры в доступной компании. Для этого действия требуется доступ ко всем филиалам.

Описание разработчика

Read a compact employee attendance and schedule dashboard through the existing workforce manager. Use an employee ID from employee discovery. Requires all-location access because existing dashboard aggregates span locations. Excludes finance, payroll, access-rights, and unrelated customer data. No changes.

Параметры запроса
employeeId
Canonical employee identifier returned by search. Copy the exact value; never derive it from a name, phone number, or another ID. обязательно по схеме · string · до символов 128
from
An absolute date and time with Z or an explicit UTC offset, for example 2026-09-04T12:00:00-07:00. обязательно по схеме · string
to
An absolute date and time with Z or an explicit UTC offset, for example 2026-09-04T12:00:00-07:00. обязательно по схеме · string
Что вернёт команда
employeeId
Canonical employee identifier requested. обязательно по схеме · string / null
workedMinutes
Net worked minutes returned by the workforce service. обязательно по схеме · number / null
shiftCount
Recorded time-entry count for the reporting period. обязательно по схеме · number / null
scheduledMinutes
Scheduled work minutes for the reporting period. обязательно по схеме · number / null
scheduledShiftCount
Existing scheduled shift count. обязательно по схеме · number / null
currentShift
Current employee shift, if any. обязательно по схеме · object / null
Поля и технические схемы
Входные поля и поля ответа workforce_get_employee_dashboard
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "employeeId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[^\\u0000-\\u001f\\u007f/|]+$",
      "description": "Canonical employee identifier returned by search. Copy the exact value; never derive it from a name, phone number, or another ID."
    },
    "from": {
      "$ref": "#/$defs/_mcp0"
    },
    "to": {
      "$ref": "#/$defs/_mcp0"
    }
  },
  "required": [
    "employeeId",
    "from",
    "to"
  ],
  "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      "description": "An absolute date and time with Z or an explicit UTC offset, for example 2026-09-04T12:00:00-07:00."
    }
  }
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "employeeId": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2000
        },
        {
          "type": "null"
        }
      ],
      "description": "Canonical employee identifier requested."
    },
    "workedMinutes": {
      "description": "Net worked minutes returned by the workforce service.",
      "type": [
        "number",
        "null"
      ]
    },
    "shiftCount": {
      "description": "Recorded time-entry count for the reporting period.",
      "type": [
        "number",
        "null"
      ]
    },
    "scheduledMinutes": {
      "description": "Scheduled work minutes for the reporting period.",
      "type": [
        "number",
        "null"
      ]
    },
    "scheduledShiftCount": {
      "description": "Existing scheduled shift count.",
      "type": [
        "number",
        "null"
      ]
    },
    "currentShift": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "id": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 2000
                },
                {
                  "type": "null"
                }
              ],
              "description": "Existing time entry identifier."
            },
            "locationId": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 2000
                },
                {
                  "type": "null"
                }
              ],
              "description": "Existing establishment identifier."
            },
            "startedAt": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 2000
                },
                {
                  "type": "null"
                }
              ],
              "description": "Recorded shift start time."
            },
            "onBreak": {
              "description": "Whether the existing time entry is on break.",
              "type": [
                "boolean",
                "null"
              ]
            },
            "workedMinutes": {
              "description": "Recorded net worked minutes.",
              "type": [
                "number",
                "null"
              ]
            }
          },
          "required": [
            "id",
            "locationId",
            "startedAt",
            "onBreak",
            "workedMinutes"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ],
      "description": "Current employee shift, if any."
    }
  },
  "required": [
    "employeeId",
    "workedMinutes",
    "shiftCount",
    "scheduledMinutes",
    "scheduledShiftCount",
    "currentShift"
  ],
  "additionalProperties": false
}