Расчёт выплат · Чувствительное действие
Расчёт выплат · Доступ · Первичная настройка
payroll_access_initialize
Попробуйте три запроса
Подготовить
- Вы указываетеОбъект
- ПомощникПодготовка
- Вы получаетеПредпросмотр
Запрос в чат
Подготовь «Расчёт выплат / Доступ / Первичная настройка». Покажи объект и ожидаемый эффект до выполнения.
- Контракт
- См. полную схему
Применить
- Вы указываетеСогласованные значения
- ПомощникОдин вызов
- Вы получаетеОтвет операции
Запрос в чат
Выполни согласованное действие «Расчёт выплат / Доступ / Первичная настройка» с проверенными значениями. Покажи результат этой попытки.
- requestId
- Ключ операции
Проверить итог
- Вы указываетеИсходный ответ
- ПомощникСверка результата
- Вы получаетеПодтверждение
Запрос в чат
Проверь результат «Расчёт выплат / Доступ / Первичная настройка» по исходному ответу. Покажи companyId, access. Объясни, чем подтвердить эффект для выбранного объекта.
- ЗапросСохранить исходный ключ
- ОтветПроверить статус
- ПроверкаСверить эффект операции
Как работает действие
Этот вызов может изменить рабочие данные. Согласуйте точный объект, новые значения и ожидаемый результат. Присвойте операции стабильный 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
Поля и технические схемы

Вход · 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."
}
}
}