MCP Control
Расчёт выплат · Чувствительное действие

Расчёт выплат · Доступ · Первичная настройка

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

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

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

Этот вызов может изменить рабочие данные. Согласуйте точный объект, новые значения и ожидаемый результат. Присвойте операции стабильный requestId. При повторе той же операции используйте прежний ключ и те же значения.

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

Initialize the native protected Payroll assignment for a verified current company Management employee. Requires access.manage and payroll.read; never relies on an open browser or caller-supplied owner claims. Existing revoked assignments are not revived.

Параметры запроса
requestId
Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
Что вернёт команда
companyId
Native companyId value; use the value and type returned by the corresponding service. обязательно по схеме · string
access
Native access value; use the value and type returned by the corresponding service. обязательно по схеме · null
assignment
Verified assignment returned by this mutation, including targets outside the first directory page. обязательно по схеме · null
members
Native members value; use the value and type returned by the corresponding service. обязательно по схеме · array · до элементов 20
nextOffset
Смещение для получения следующей страницы. обязательно по схеме · integer / null
sha256
Native sha256 value; use the value and type returned by the corresponding service. обязательно по схеме · string
nativeLimitReached
True when the native 500-member response cap was reached; do not infer a complete directory. обязательно по схеме · boolean
Поля и технические схемы
Входные поля и поля ответа payroll_access_initialize
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "requestId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{8,128}$",
      "description": "Stable request ID for these exact arguments. Keep it if the response is uncertain."
    }
  },
  "required": [
    "requestId"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "companyId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
      "description": "Native companyId value; use the value and type returned by the corresponding service."
    },
    "access": {
      "anyOf": [
        {
          "$ref": "#/$defs/_mcp3"
        },
        {
          "type": "null"
        }
      ],
      "description": "Native access value; use the value and type returned by the corresponding service."
    },
    "assignment": {
      "anyOf": [
        {
          "$ref": "#/$defs/_mcp3"
        },
        {
          "type": "null"
        }
      ],
      "description": "Verified assignment returned by this mutation, including targets outside the first directory page."
    },
    "members": {
      "maxItems": 20,
      "type": "array",
      "items": {
        "$ref": "#/$defs/_mcp3"
      },
      "description": "Native members value; use the value and type returned by the corresponding service."
    },
    "nextOffset": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        {
          "type": "null"
        }
      ],
      "description": "Native nextOffset value; use the value and type returned by the corresponding service."
    },
    "sha256": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$",
      "description": "Native sha256 value; use the value and type returned by the corresponding service."
    },
    "nativeLimitReached": {
      "type": "boolean",
      "description": "True when the native 500-member response cap was reached; do not infer a complete directory."
    }
  },
  "required": [
    "companyId",
    "access",
    "assignment",
    "members",
    "nextOffset",
    "sha256",
    "nativeLimitReached"
  ],
  "additionalProperties": false,
  "$defs": {
    "_mcp3": {
      "type": "object",
      "properties": {
        "principalId": {
          "$ref": "#/$defs/_mcp0"
        },
        "role": {
          "$ref": "#/$defs/_mcp1"
        },
        "scopes": {
          "$ref": "#/$defs/_mcp2"
        },
        "active": {
          "type": "boolean",
          "description": "Native active value; use the value and type returned by the corresponding service."
        }
      },
      "required": [
        "principalId",
        "role",
        "scopes",
        "active"
      ],
      "additionalProperties": false
    },
    "_mcp0": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
      "description": "Native principalId value; use the value and type returned by the corresponding service."
    },
    "_mcp1": {
      "type": "string",
      "maxLength": 30,
      "description": "Native role value; use the value and type returned by the corresponding service."
    },
    "_mcp2": {
      "maxItems": 30,
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 80,
        "pattern": "^[a-z_.]+$"
      },
      "description": "Native scopes value; use the value and type returned by the corresponding service."
    }
  }
}