MCP Control
Обзор  ›  CRM
CRM · Чтение

CRM · Аналитика

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

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

Получить данные
  1. Вы указываетеPipelineid
  2. ПомощникЧтение
  3. Вы получаетеПоля ответа
Запрос в чат
Для задачи «CRM / Аналитика» выполни чтение по выбранной записи (pipelineId). Выведи кратко: companyId, результат.
Что искать в ответе
companyId
Поле ответа
result
Результат
Следующая страница
  1. Вы указываетеПредыдущий ответ
  2. ПомощникПродолжение
  3. Вы получаетеСледующая страница
Запрос в чат
Продолжи «CRM / Аналитика» с позиции прошлого ответа. Сохрани фильтры и размер страницы 3. Покажи новые строки отдельно.
Как листать выдачу
Страница 1До 3 строк
Страница 2Продолжение
Разобрать ответ
  1. Вы указываетеПолученный ответ
  2. ПомощникРазбор значений
  3. Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «CRM / Аналитика» объясни companyId, результат. Отметь отсутствующие значения.
Поля для проверки
companyId
Поле ответа
result
Результат
Как работает действие

Это чтение. Выберите запись или задайте фильтры в доступной компании. При постраничном чтении используйте продолжение ответа с теми же фильтрами.

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

Read or export CSV for a bounded native CRM lead/task page using the UI report/filter/CSV model. Returns real cursors and partial=true; counts, sums and CSV are limited to this page. Follow every cursor and preserve filters for a complete export; never call this a global financial report.

Параметры запроса
offset
Смещение из предыдущей страницы или начальное значение из схемы. обязательно по схеме · integer · по умолчанию 0 · минимум 0 · максимум 3000000
limit
Максимальное число элементов на этой странице. обязательно по схеме · integer · по умолчанию 10000 · минимум 1 · максимум 10000
expectedHash
Контрольное значение из предыдущего чтения. необязательно · string
pipelineId
Native pipelineId value; use the value and type returned by the corresponding service. необязательно · string
manager
Native manager value; use the value and type returned by the corresponding service. необязательно · string
query
Поисковое выражение для этой операции. обязательно по схеме · string · по умолчанию "" · до символов 200
source
Native source value; use the value and type returned by the corresponding service. необязательно · string · до символов 200
priority
Native priority value; use the value and type returned by the corresponding service. необязательно · string · до символов 30
stage
Native stage value; use the value and type returned by the corresponding service. необязательно · string
status
Native status value; use the value and type returned by the corresponding service. обязательно по схеме · string · по умолчанию "all" · варианты all, active, won, lost
format
Native format value; use the value and type returned by the corresponding service. обязательно по схеме · string · по умолчанию "json" · варианты json, csv
leadsAfter
Native leadsAfter value; use the value and type returned by the corresponding service. необязательно · string
tasksAfter
Native tasksAfter value; use the value and type returned by the corresponding service. необязательно · string
pageSize
Native pageSize value; use the value and type returned by the corresponding service. обязательно по схеме · integer · по умолчанию 15 · минимум 1 · максимум 50
Что вернёт команда
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_analytics
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "offset": {
      "default": 0,
      "description": "Native offset value; use the value and type returned by the corresponding service.",
      "type": "integer",
      "minimum": 0,
      "maximum": 3000000
    },
    "limit": {
      "default": 10000,
      "description": "Native limit value; use the value and type returned by the corresponding service.",
      "type": "integer",
      "minimum": 1,
      "maximum": 10000
    },
    "expectedHash": {
      "description": "Native expectedHash value; use the value and type returned by the corresponding service.",
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    },
    "pipelineId": {
      "description": "Native pipelineId value; use the value and type returned by the corresponding service.",
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
    },
    "manager": {
      "description": "Native manager value; use the value and type returned by the corresponding service.",
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
    },
    "query": {
      "default": "",
      "description": "Native query value; use the value and type returned by the corresponding service.",
      "type": "string",
      "maxLength": 200
    },
    "source": {
      "description": "Native source value; use the value and type returned by the corresponding service.",
      "type": "string",
      "maxLength": 200
    },
    "priority": {
      "description": "Native priority value; use the value and type returned by the corresponding service.",
      "type": "string",
      "maxLength": 30
    },
    "stage": {
      "description": "Native stage value; use the value and type returned by the corresponding service.",
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
    },
    "status": {
      "default": "all",
      "description": "Native status value; use the value and type returned by the corresponding service.",
      "type": "string",
      "enum": [
        "all",
        "active",
        "won",
        "lost"
      ]
    },
    "format": {
      "default": "json",
      "description": "Native format value; use the value and type returned by the corresponding service.",
      "type": "string",
      "enum": [
        "json",
        "csv"
      ]
    },
    "leadsAfter": {
      "description": "Native leadsAfter value; use the value and type returned by the corresponding service.",
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
    },
    "tasksAfter": {
      "description": "Native tasksAfter value; use the value and type returned by the corresponding service.",
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
    },
    "pageSize": {
      "default": 15,
      "description": "Native pageSize value; use the value and type returned by the corresponding service.",
      "type": "integer",
      "minimum": 1,
      "maximum": 50
    }
  },
  "required": [
    "offset",
    "limit",
    "query",
    "status",
    "format",
    "pageSize"
  ],
  "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"
          }
        }
      ]
    }
  }
}