MCP Control
Компания и доступ · Изменение

Компания · Переводы · Установка значения

company_translations_set
Папки документов

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

Подготовить
  1. Вы указываетеElementid
  2. ПомощникПодготовка
  3. Вы получаетеПредпросмотр
Запрос в чат
Подготовь «Компания / Переводы / Установка значения». Для изменения нужны page, язык. Покажи объект и ожидаемый эффект до выполнения.
Что входит в подготовку
page
Параметр
language
Язык
elementId
Параметр
Применить
  1. Вы указываетеСогласованные значения
  2. ПомощникОдин вызов
  3. Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «Компания / Переводы / Установка значения» с параметром language = ru. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
Фрагмент учебных параметров
language
ru
elementId
DEMO-101
Проверить итог
  1. Вы указываетеИсходный ответ
  2. ПомощникСверка результата
  3. Вы получаетеПодтверждение
Запрос в чат
Проверь результат «Компания / Переводы / Установка значения» по исходному ответу. Покажи page, язык. Объясни, чем подтвердить эффект для выбранного объекта.
Как сверить изменение
  1. До измененияПрочитать версию
  2. При записиПередать выбранную версию
  3. После ответаПеречитать объект
Как работает действие

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

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

Set one catalogued company translation using its exact expectedRevision, or explicit null for creation. Preserves other entries and uses native deterministic rows with atomic request recovery. Blank text restores fallback.

Параметры запроса
page
Exact page, component or custom-code name from company_translations_catalog. обязательно по схеме · string · до символов 128
language
Язык результата или локализуемого значения согласно схеме. обязательно по схеме · string · до символов 24
elementId
Exact catalogued element identifier from company_translations_list; some custom-code identifiers are long text. обязательно по схеме · string · до символов 4096
expectedRevision
Версия, прочитанная перед изменением. обязательно по схеме · string / null
requestId
Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string · до символов 128
value
Exact override text. A blank or whitespace-only value restores global/catalog fallback through a native tombstone. обязательно по схеме · string · до символов 20000
Что вернёт команда
page
Exact page, component or custom-code name from company_translations_catalog. обязательно по схеме · string · до символов 128
language
Language code, such as en, ru or es-MX; matching uses lowercase and hyphens. обязательно по схеме · string · до символов 24
elementId
Exact catalogued element identifier from company_translations_list; some custom-code identifiers are long text. обязательно по схеме · string · до символов 4096
revision
Revision returned by the committed native override write. обязательно по схеме · string
value
Saved dedicated override text. Empty means that fallback is restored; use a translation read for the effective fallback text. обязательно по схеме · string · до символов 20000
overrideActive
Whether the saved dedicated entry overrides fallback with nonempty text. обязательно по схеме · boolean
Поля и технические схемы
Входные поля и поля ответа company_translations_set
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "page": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "description": "Exact page, component or custom-code name from company_translations_catalog."
    },
    "language": {
      "type": "string",
      "minLength": 2,
      "maxLength": 24,
      "pattern": "^[A-Za-z]{2,3}(?:[-_][A-Za-z0-9]{2,8})*$",
      "description": "Language code, such as en, ru or es-MX; matching uses lowercase and hyphens."
    },
    "elementId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096,
      "description": "Exact catalogued element identifier from company_translations_list; some custom-code identifiers are long text."
    },
    "expectedRevision": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^[a-f0-9]{32}$",
          "description": "Exact dedicated company-override row revision from a translation read."
        },
        {
          "type": "null"
        }
      ],
      "description": "Use the read expectedRevision unchanged. Explicit null requires the dedicated override row to be absent; concurrent creation conflicts."
    },
    "requestId": {
      "type": "string",
      "minLength": 8,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_-]+$",
      "description": "Stable identifier for this exact change. Keep the identifier and all arguments unchanged for recovery; never issue a fresh identifier to bypass a pending result."
    },
    "value": {
      "type": "string",
      "maxLength": 20000,
      "description": "Exact override text. A blank or whitespace-only value restores global/catalog fallback through a native tombstone."
    }
  },
  "required": [
    "page",
    "language",
    "elementId",
    "expectedRevision",
    "requestId",
    "value"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "page": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "description": "Exact page, component or custom-code name from company_translations_catalog."
    },
    "language": {
      "type": "string",
      "minLength": 2,
      "maxLength": 24,
      "pattern": "^[A-Za-z]{2,3}(?:[-_][A-Za-z0-9]{2,8})*$",
      "description": "Language code, such as en, ru or es-MX; matching uses lowercase and hyphens."
    },
    "elementId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096,
      "description": "Exact catalogued element identifier from company_translations_list; some custom-code identifiers are long text."
    },
    "revision": {
      "type": "string",
      "pattern": "^[a-f0-9]{32}$",
      "description": "Revision returned by the committed native override write."
    },
    "value": {
      "type": "string",
      "maxLength": 20000,
      "description": "Saved dedicated override text. Empty means that fallback is restored; use a translation read for the effective fallback text."
    },
    "overrideActive": {
      "type": "boolean",
      "description": "Whether the saved dedicated entry overrides fallback with nonempty text."
    }
  },
  "required": [
    "page",
    "language",
    "elementId",
    "revision",
    "value",
    "overrideActive"
  ],
  "additionalProperties": false
}