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

CRM · Лиды · Предложения · Каталог

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

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

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

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

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

Browse Booking objects (stay) or appointment services (service) for the proposal establishment. Follow native next even on an empty filtered page. Catalog presence does not guarantee slots; confirmation belongs to Booking/Services.

Параметры запроса
leadId
Native leadId value; use the value and type returned by the corresponding service. обязательно по схеме · string
locationId
Идентификатор точки из текущего подключения. обязательно по схеме · string
bookingKind
Native bookingKind value; use the value and type returned by the corresponding service. обязательно по схеме · string · варианты stay, service
q
Native q value; use the value and type returned by the corresponding service. обязательно по схеме · string · по умолчанию "" · до символов 160
after
Native after value; use the value and type returned by the corresponding service. необязательно · string
limit
Максимальное число элементов на этой странице. обязательно по схеме · integer · по умолчанию 20 · минимум 1 · максимум 50
offset
Смещение из предыдущей страницы или начальное значение из схемы. обязательно по схеме · integer · по умолчанию 0 · минимум 0 · максимум 9007199254740991
expectedHash
Контрольное значение из предыдущего чтения. необязательно · string
Что вернёт команда
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_lead_proposal_catalog
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "leadId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
      "description": "Native leadId value; use the value and type returned by the corresponding service."
    },
    "locationId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
      "description": "Native locationId value; use the value and type returned by the corresponding service."
    },
    "bookingKind": {
      "type": "string",
      "enum": [
        "stay",
        "service"
      ],
      "description": "Native bookingKind value; use the value and type returned by the corresponding service."
    },
    "q": {
      "default": "",
      "description": "Native q value; use the value and type returned by the corresponding service.",
      "type": "string",
      "maxLength": 160
    },
    "after": {
      "description": "Native after value; use the value and type returned by the corresponding service.",
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
    },
    "limit": {
      "default": 20,
      "description": "Native limit value; use the value and type returned by the corresponding service.",
      "type": "integer",
      "minimum": 1,
      "maximum": 50
    },
    "offset": {
      "default": 0,
      "description": "Native offset value; use the value and type returned by the corresponding service.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "expectedHash": {
      "description": "Native expectedHash value; use the value and type returned by the corresponding service.",
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    }
  },
  "required": [
    "leadId",
    "locationId",
    "bookingKind",
    "q",
    "limit",
    "offset"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "companyId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
      "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"
          }
        }
      ]
    }
  }
}