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

CRM · Параметры · Изменение

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

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

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

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

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

Save only reviewed CRM workspace settings at the current hash: timezone, working hours, task/lead notifications, translation languages, default order type and selected pipeline. Uses native validation and subscription checks.

Параметры запроса
requestId
Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
expectedHash
Контрольное значение из предыдущего чтения. обязательно по схеме · string
values
Значения для записи. Состав и вложенность указаны в схеме. обязательно по схеме · 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_preferences_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."
    },
    "expectedHash": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$",
      "description": "Native expectedHash value; use the value and type returned by the corresponding service."
    },
    "values": {
      "type": "object",
      "properties": {
        "timezone": {
          "description": "Native timezone value; use the value and type returned by the corresponding service.",
          "type": "string",
          "maxLength": 100
        },
        "from": {
          "description": "Native from value; use the value and type returned by the corresponding service.",
          "type": "string",
          "pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$"
        },
        "to": {
          "description": "Native to value; use the value and type returned by the corresponding service.",
          "type": "string",
          "pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$"
        },
        "allocation": {
          "description": "Native allocation value; use the value and type returned by the corresponding service.",
          "type": "string",
          "maxLength": 80
        },
        "notifyTasks": {
          "description": "Native notifyTasks value; use the value and type returned by the corresponding service.",
          "type": "boolean"
        },
        "notifyLeads": {
          "description": "Native notifyLeads value; use the value and type returned by the corresponding service.",
          "type": "boolean"
        },
        "selectedFunnelId": {
          "description": "Native selectedFunnelId value; use the value and type returned by the corresponding service.",
          "type": "string",
          "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
        },
        "goal": {
          "description": "Native goal value; use the value and type returned by the corresponding service.",
          "type": "number",
          "minimum": 0,
          "maximum": 1000000000000
        },
        "translationLanguages": {
          "description": "Native translationLanguages value; use the value and type returned by the corresponding service.",
          "minItems": 1,
          "maxItems": 30,
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 2,
            "maxLength": 35
          }
        },
        "defaultOrderType": {
          "description": "Native defaultOrderType value; use the value and type returned by the corresponding service.",
          "type": "string",
          "enum": [
            "delivery",
            "pickup",
            "atplace",
            "catering"
          ]
        }
      },
      "additionalProperties": false,
      "description": "Native values value; use the value and type returned by the corresponding service."
    }
  },
  "required": [
    "requestId",
    "expectedHash",
    "values"
  ],
  "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"
          }
        }
      ]
    }
  }
}