MCP Control
Сотрудники · Чувствительное действие

Персонал · Должности · Изменение

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

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

Подготовить
  1. Вы указываетеId объекта
  2. ПомощникПодготовка
  3. Вы получаетеПредпросмотр
Запрос в чат
Подготовь «Персонал / Должности / Изменение». Для изменения нужны изменяемые поля, ID объекта. Покажи объект и ожидаемый эффект до выполнения.
Что входит в подготовку
values
Изменяемые поля
resourceId
Id объекта
Применить
  1. Вы указываетеСогласованные значения
  2. ПомощникОдин вызов
  3. Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «Персонал / Должности / Изменение» с параметром values.Management = true. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
Фрагмент учебных параметров
values.Management
true
values.Sales
true
values.Halladministration
true
Проверить итог
  1. Вы указываетеИсходный ответ
  2. ПомощникСверка результата
  3. Вы получаетеПодтверждение
Запрос в чат
Проверь результат «Персонал / Должности / Изменение» по исходному ответу. Покажи ID объекта, версия записи. Объясни, чем подтвердить эффект для выбранного объекта.
Как сверить изменение
  1. До измененияПрочитать версию
  2. При записиПередать выбранную версию
  3. После ответаПеречитать объект
Как работает действие

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

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

Update one Staff position configuration using its real embedded FlutterFlow data structure. Only supplied fields change; references, tenant, location and expected revision are checked. This does not run workflows, send messages, charge payments or alter MCP permission grants. Retry with the same requestId after a network error.

Параметры запроса
requestId
Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string · до символов 128
values
Значения для записи. Состав и вложенность указаны в схеме. обязательно по схеме · object
resourceId
Canonical Staff position configuration document identifier from an existing search or edit_context. обязательно по схеме · string · до символов 160
expectedRevision
Версия, прочитанная перед изменением. обязательно по схеме · string
Что вернёт команда
resourceId
Canonical Staff position configuration document identifier in the connected company. обязательно по схеме · string
revision
Exact server revision for optimistic concurrency. Copy it unchanged into update requests. обязательно по схеме · string
fieldErrors
Present only when editable fields have incompatible stored values. Those entire fields are omitted from values, not reset. Use this revision and an explicit valid patch to repair them; all other fields remain unchanged. необязательно · array · до элементов 100
values
Typed editable Staff position configuration fields. Credentials and service-owned identifiers are excluded; omitted fields were not present. обязательно по схеме · object
Поля и технические схемы
Входные поля и поля ответа staff_position_update
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "requestId": {
      "type": "string",
      "minLength": 8,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_-]+$",
      "description": "Unique operation retry identifier. Reuse only for exactly the same structure and field values."
    },
    "values": {
      "type": "object",
      "properties": {
        "Name": {
          "description": "Native Staff position configuration.Name. Supplied array replaces the whole array.",
          "maxItems": 100,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "Language": {
                "description": "Native Namesjson.Language.",
                "type": "string",
                "maxLength": 2000
              },
              "Text": {
                "description": "Native Namesjson.Text.",
                "type": "string",
                "maxLength": 12000
              }
            },
            "additionalProperties": false,
            "description": "Native Staff position configuration.Name."
          }
        },
        "Management": {
          "description": "Native Staff position configuration.Management.",
          "type": "boolean"
        },
        "Sales": {
          "description": "Native Staff position configuration.Sales.",
          "type": "boolean"
        },
        "Halladministration": {
          "description": "Native Staff position configuration.Halladministration.",
          "type": "boolean"
        },
        "Courier": {
          "description": "Native Staff position configuration.Courier.",
          "type": "boolean"
        },
        "Storage": {
          "description": "Native Staff position configuration.Storage.",
          "type": "boolean"
        },
        "Production": {
          "description": "Native Staff position configuration.Production.",
          "type": "boolean"
        },
        "Screen": {
          "description": "Native Staff position configuration.Screen.",
          "type": "boolean"
        },
        "Menu": {
          "description": "Native Staff position configuration.Menu.",
          "type": "boolean"
        },
        "Supplier": {
          "description": "Native Staff position configuration.Supplier.",
          "type": "boolean"
        },
        "client": {
          "description": "Native Staff position configuration.client.",
          "type": "boolean"
        },
        "interfaces": {
          "description": "Native Staff position configuration.interfaces. Supplied array replaces the whole array.",
          "maxItems": 100,
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 2000,
            "description": "Native Staff position configuration.interfaces."
          }
        }
      },
      "additionalProperties": false,
      "description": "Validated native Staff position configuration fields. Omitted fields are preserved on update. Nested objects merge; explicitly supplied arrays replace the array."
    },
    "resourceId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 160,
      "pattern": "^[A-Za-z0-9_~:@+.-]+$",
      "description": "Canonical Staff position configuration document identifier from an existing search or edit_context."
    },
    "expectedRevision": {
      "type": "string",
      "description": "Exact revision returned by edit_context. Updates reject concurrent changes instead of overwriting them."
    }
  },
  "required": [
    "requestId",
    "values",
    "resourceId",
    "expectedRevision"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "resourceId": {
      "type": "string",
      "description": "Canonical Staff position configuration document identifier in the connected company."
    },
    "revision": {
      "type": "string",
      "description": "Exact server revision for optimistic concurrency. Copy it unchanged into update requests."
    },
    "fieldErrors": {
      "description": "Present only when editable fields have incompatible stored values. Those entire fields are omitted from values, not reset. Use this revision and an explicit valid patch to repair them; all other fields remain unchanged.",
      "maxItems": 100,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string",
            "description": "Native field path requiring an explicit correction; no stored values are returned."
          },
          "expected": {
            "type": "string",
            "description": "Required native type or edit bound."
          },
          "actual": {
            "type": "string",
            "description": "Observed value type, never its content."
          }
        },
        "required": [
          "field",
          "expected",
          "actual"
        ],
        "additionalProperties": false
      }
    },
    "values": {
      "type": "object",
      "properties": {
        "Name": {
          "description": "Native Staff position configuration.Name. Supplied array replaces the whole array.",
          "maxItems": 100,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "Language": {
                "description": "Native Namesjson.Language.",
                "type": "string",
                "maxLength": 2000
              },
              "Text": {
                "description": "Native Namesjson.Text.",
                "type": "string",
                "maxLength": 12000
              }
            },
            "additionalProperties": false,
            "description": "Native Staff position configuration.Name."
          }
        },
        "Management": {
          "description": "Native Staff position configuration.Management.",
          "type": "boolean"
        },
        "Sales": {
          "description": "Native Staff position configuration.Sales.",
          "type": "boolean"
        },
        "Halladministration": {
          "description": "Native Staff position configuration.Halladministration.",
          "type": "boolean"
        },
        "Courier": {
          "description": "Native Staff position configuration.Courier.",
          "type": "boolean"
        },
        "Storage": {
          "description": "Native Staff position configuration.Storage.",
          "type": "boolean"
        },
        "Production": {
          "description": "Native Staff position configuration.Production.",
          "type": "boolean"
        },
        "Screen": {
          "description": "Native Staff position configuration.Screen.",
          "type": "boolean"
        },
        "Menu": {
          "description": "Native Staff position configuration.Menu.",
          "type": "boolean"
        },
        "Supplier": {
          "description": "Native Staff position configuration.Supplier.",
          "type": "boolean"
        },
        "client": {
          "description": "Native Staff position configuration.client.",
          "type": "boolean"
        },
        "interfaces": {
          "description": "Native Staff position configuration.interfaces. Supplied array replaces the whole array.",
          "maxItems": 100,
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 2000,
            "description": "Native Staff position configuration.interfaces."
          }
        }
      },
      "additionalProperties": false,
      "description": "Typed editable Staff position configuration fields. Credentials and service-owned identifiers are excluded; omitted fields were not present."
    }
  },
  "required": [
    "resourceId",
    "revision",
    "values"
  ],
  "additionalProperties": false
}