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

Расчёт выплат · Доступ · Контекст

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

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

Получить данные
  1. Вы указываетеОбъект
  2. ПомощникЧтение
  3. Вы получаетеПоля ответа
Запрос в чат
Для задачи «Расчёт выплат / Доступ / Контекст» выполни чтение в текущей компании. Выведи кратко: companyId, access.
Что искать в ответе
companyId
Поле ответа
access
Поле ответа
assignment
Поле ответа
Задать параметры
  1. Вы указываетеЗадача
  2. ПомощникСхема входа
  3. Вы получаетеУсловия чтения
Запрос в чат
Покажи, как получить «Расчёт выплат / Доступ / Контекст» на учебном примере с offset = 0. Объясни, какие ещё данные нужны и как будет выглядеть ответ.
Фрагмент учебных параметров
offset
0
Разобрать ответ
  1. Вы указываетеПолученный ответ
  2. ПомощникРазбор значений
  3. Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Расчёт выплат / Доступ / Контекст» объясни companyId, access. Отметь отсутствующие значения.
Поля для проверки
companyId
Поле ответа
access
Поле ответа
assignment
Поле ответа
Как работает действие

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

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

Read your protected legacy Payroll assignment. Payroll administrators also receive the member assignments. Current native Salary schemes are separate. Follow nextOffset with expectedHash for remaining members. This read never initializes access.

Параметры запроса
offset
Смещение из предыдущей страницы или начальное значение из схемы. обязательно по схеме · integer · по умолчанию 0 · минимум 0 · максимум 9007199254740991
expectedHash
Контрольное значение из предыдущего чтения. необязательно · 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_context
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "offset": {
      "default": 0,
      "description": "Native offset value; use the value and type returned by the corresponding service.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "expectedHash": {
      "description": "Native expectedHash value; use the value and type returned by the corresponding service.",
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    }
  },
  "required": [
    "offset"
  ],
  "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."
    }
  }
}