MCP Control
Отзывы · Изменение

Отзывы · Аннотация · Изменение

reviews_workspace_annotation_update
Часы и календарь у стойки записи

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

Подготовить
  1. Вы указываетеReviewid
  2. ПомощникПодготовка
  3. Вы получаетеПредпросмотр
Запрос в чат
Подготовь «Отзывы / Аннотация / Изменение». Для изменения нужны reviewId, changes. Покажи объект и ожидаемый эффект до выполнения.
Что входит в подготовку
reviewId
Параметр
changes
Параметр
Применить
  1. Вы указываетеСогласованные значения
  2. ПомощникОдин вызов
  3. Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «Отзывы / Аннотация / Изменение» с параметром reviewId = DEMO-101. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
Фрагмент учебных параметров
reviewId
DEMO-101
expectedRevision
4
Проверить итог
  1. Вы указываетеИсходный ответ
  2. ПомощникСверка результата
  3. Вы получаетеПодтверждение
Запрос в чат
Проверь результат «Отзывы / Аннотация / Изменение» по исходному ответу. Покажи companyId, результат. Объясни, чем подтвердить эффект для выбранного объекта.
Как сверить изменение
  1. До измененияПрочитать версию
  2. При записиПередать выбранную версию
  3. После ответаПеречитать объект
Как работает действие

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

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

Patch one review draft, processing status, assignee, flag, tags or notes at the exact workspace revision. This never publishes a reply or changes the customer text.

Параметры запроса
requestId
Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
expectedRevision
Версия, прочитанная перед изменением. обязательно по схеме · integer · минимум 0 · максимум 9007199254740991
reviewId
Native reviewId value; use the value and type returned by the corresponding service. обязательно по схеме · string
changes
Native changes value; use the value and type returned by the corresponding service. обязательно по схеме · object
Что вернёт команда
companyId
Native companyId value; use the value and type returned by the corresponding service. обязательно по схеме · string
result
Native result value; use the value and type returned by the corresponding service. обязательно по схеме · object
Поля и технические схемы
Входные поля и поля ответа reviews_workspace_annotation_update
Вход · 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."
    },
    "expectedRevision": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Native expectedRevision value; use the value and type returned by the corresponding service."
    },
    "reviewId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
      "description": "Native reviewId value; use the value and type returned by the corresponding service."
    },
    "changes": {
      "type": "object",
      "properties": {
        "draft": {
          "description": "Native draft value; use the value and type returned by the corresponding service.",
          "type": "string",
          "maxLength": 12000
        },
        "assignedTo": {
          "description": "Native assignedTo value; use the value and type returned by the corresponding service.",
          "type": "string",
          "maxLength": 200
        },
        "status": {
          "description": "Native status value; use the value and type returned by the corresponding service.",
          "type": "string",
          "enum": [
            "new",
            "answered",
            "progress",
            "resolved",
            "archived"
          ]
        },
        "flagged": {
          "description": "Native flagged value; use the value and type returned by the corresponding service.",
          "type": "boolean"
        },
        "tags": {
          "description": "Native tags value; use the value and type returned by the corresponding service.",
          "maxItems": 20,
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 200
          }
        },
        "notes": {
          "description": "Native notes value; use the value and type returned by the corresponding service.",
          "maxItems": 100,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
                "description": "Native id value; use the value and type returned by the corresponding service."
              },
              "text": {
                "type": "string",
                "maxLength": 12000,
                "description": "Native text value; use the value and type returned by the corresponding service."
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                "description": "Native createdAt value; use the value and type returned by the corresponding service."
              }
            },
            "required": [
              "id",
              "text",
              "createdAt"
            ],
            "additionalProperties": false
          }
        }
      },
      "additionalProperties": false,
      "description": "Native changes value; use the value and type returned by the corresponding service."
    }
  },
  "required": [
    "requestId",
    "expectedRevision",
    "reviewId",
    "changes"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "companyId": {
      "type": "string",
      "description": "Native companyId value; use the value and type returned by the corresponding service."
    },
    "result": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "$ref": "#/$defs/__schema0"
      },
      "description": "Native result value; use the value and type returned by the corresponding service."
    }
  },
  "required": [
    "companyId",
    "result"
  ],
  "additionalProperties": false,
  "$defs": {
    "__schema0": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        },
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema0"
          }
        },
        {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "$ref": "#/$defs/__schema0"
          }
        }
      ]
    }
  }
}