MCP Control
Обзор  ›  CRM
CRM · Изменение

CRM · Лиды · Прогресс · Изменение

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

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

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

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

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

Save answers and checklist checks for one exact native lead stage at its revision. Uses native question/type/conditional validation. Does not move the stage, run a Flow or create an order.

Параметры запроса
requestId
Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
leadId
Native leadId value; use the value and type returned by the corresponding service. обязательно по схеме · string
expectedRevision
Версия, прочитанная перед изменением. обязательно по схеме · string
stageId
Native stageId value; use the value and type returned by the corresponding service. обязательно по схеме · string
answers
Native answers value; use the value and type returned by the corresponding service. обязательно по схеме · object · по умолчанию {}
checks
Native checks 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
Поля и технические схемы
Входные поля и поля ответа crm_workspace_lead_progress_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."
    },
    "leadId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
      "description": "Native leadId value; use the value and type returned by the corresponding service."
    },
    "expectedRevision": {
      "type": "string",
      "pattern": "^\\d+:\\d+$",
      "description": "Native expectedRevision value; use the value and type returned by the corresponding service."
    },
    "stageId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
      "description": "Native stageId value; use the value and type returned by the corresponding service."
    },
    "answers": {
      "default": {},
      "description": "Native answers value; use the value and type returned by the corresponding service.",
      "type": "object",
      "propertyNames": {
        "type": "string",
        "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
      },
      "additionalProperties": {
        "anyOf": [
          {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 20000
              },
              {
                "type": "number"
              },
              {
                "type": "boolean"
              }
            ]
          },
          {
            "maxItems": 100,
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 2000
            }
          },
          {
            "type": "null"
          }
        ]
      }
    },
    "checks": {
      "default": {},
      "description": "Native checks value; use the value and type returned by the corresponding service.",
      "type": "object",
      "propertyNames": {
        "type": "string",
        "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
      },
      "additionalProperties": {
        "type": "boolean"
      }
    }
  },
  "required": [
    "requestId",
    "leadId",
    "expectedRevision",
    "stageId",
    "answers",
    "checks"
  ],
  "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"
          }
        }
      ]
    }
  }
}