MCP Control
Расчёт выплат · Чтение

Расчёт выплат · Штатные · Профили · Просмотр · Операция

payroll_native_profile_get_operation
Кассовый чек, калькулятор и монеты

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

Получить данные
  1. Вы указываетеСотрудник
  2. ПомощникЧтение
  3. Вы получаетеПоля ответа
Запрос в чат
Для задачи «Расчёт выплат / Штатные / Профили / Просмотр / Операция» выполни чтение по выбранной записи (сотрудник). Выведи кратко: recorded, current.
Что искать в ответе
recorded
Поле ответа
current
Поле ответа
После обрыва
  1. Вы указываетеПервоначальный ключ
  2. ПомощникПоиск квитанции
  3. Вы получаетеСостояние операции
Запрос в чат
Найди результат «Расчёт выплат / Штатные / Профили / Просмотр / Операция» по ключу первоначальной попытки. Покажи состояние операции и раздели подтверждённые и пока неизвестные данные.
Порядок проверки
1
Взять исходный ключ
2
Проверить квитанцию
Разобрать ответ
  1. Вы указываетеПолученный ответ
  2. ПомощникРазбор значений
  3. Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Расчёт выплат / Штатные / Профили / Просмотр / Операция» объясни recorded, current. Отметь отсутствующие значения.
Поля для проверки
recorded
Поле ответа
current
Поле ответа
Как работает действие

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

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

Recover whether the original native Salary mutation was recorded, using its original request ID. For create provide employeeId; otherwise provide profileId. Returns the current profile, which may include later revisions. Never resends a write or claims that a missing receipt proves rollback.

Параметры запроса
operation
Выберите вариант операции из контракта. обязательно по схеме · string · варианты create, update, archive
originalRequestId
Сохранённый идентификатор первоначального запроса. обязательно по схеме · string
employeeId
Native employeeId value; use the value and type returned by the corresponding service. необязательно · string
profileId
Native profileId value; use the value and type returned by the corresponding service. необязательно · string
Что вернёт команда
recorded
Native recorded value; use the value and type returned by the corresponding service. обязательно по схеме · boolean
current
Native current value; use the value and type returned by the corresponding service. обязательно по схеме · object
Поля и технические схемы
Входные поля и поля ответа payroll_native_profile_get_operation
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "operation": {
      "type": "string",
      "enum": [
        "create",
        "update",
        "archive"
      ],
      "description": "Native operation value; use the value and type returned by the corresponding service."
    },
    "originalRequestId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{8,128}$",
      "description": "Stable request ID for these exact arguments. Keep it if the response is uncertain."
    },
    "employeeId": {
      "description": "Native employeeId value; use the value and type returned by the corresponding service.",
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
    },
    "profileId": {
      "description": "Native profileId value; use the value and type returned by the corresponding service.",
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
    }
  },
  "required": [
    "operation",
    "originalRequestId"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "recorded": {
      "type": "boolean",
      "description": "Native recorded value; use the value and type returned by the corresponding service."
    },
    "current": {
      "type": "object",
      "properties": {
        "profileId": {
          "type": "string",
          "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
          "description": "Native profileId value; use the value and type returned by the corresponding service."
        },
        "revision": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991,
          "description": "Current native record revision from get. A stale revision fails."
        },
        "values": {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "$ref": "#/$defs/__schema0"
          },
          "description": "Native values value; use the value and type returned by the corresponding service."
        }
      },
      "required": [
        "profileId",
        "revision",
        "values"
      ],
      "additionalProperties": false,
      "description": "Native current value; use the value and type returned by the corresponding service."
    }
  },
  "required": [
    "recorded",
    "current"
  ],
  "additionalProperties": false,
  "$defs": {
    "__schema0": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        },
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema0"
          }
        },
        {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "$ref": "#/$defs/__schema0"
          }
        }
      ]
    }
  }
}