MCP Control
Реклама · Чтение

Маркетинг · Кампании · Просмотр · Офлайн · Сохранение · Операция

marketing_campaign_get_offline_save_operation
Фотокамера и образцы цвета

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

Получить данные
  1. Вы указываетеОбъект
  2. ПомощникЧтение
  3. Вы получаетеПоля ответа
Запрос в чат
Для задачи «Маркетинг / Кампании / Просмотр / Офлайн / Сохранение / Операция» выполни чтение в текущей компании. Выведи кратко: статус, результат.
Что искать в ответе
status
Статус
result
Результат
Задать параметры
  1. Вы указываетеЗадача
  2. ПомощникСхема входа
  3. Вы получаетеУсловия чтения
Запрос в чат
Покажи, как получить «Маркетинг / Кампании / Просмотр / Офлайн / Сохранение / Операция» на учебном примере с input.campaignId = DEMO-101. Объясни, какие ещё данные нужны и как будет выглядеть ответ.
Фрагмент учебных параметров
input.campaignId
DEMO-101
input.name
Осенняя коллекция
input.objective
orders
Разобрать ответ
  1. Вы указываетеПолученный ответ
  2. ПомощникРазбор значений
  3. Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Маркетинг / Кампании / Просмотр / Офлайн / Сохранение / Операция» объясни статус, результат. Отметь отсутствующие значения.
Поля для проверки
status
Статус
result
Результат
Как работает действие

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

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

Recover the original offline save without repeating it, changing state or contacting providers. Reads only the existing identity-bound operation receipt; later native changes do not change this historical result.

Параметры запроса
input
Exact original save arguments, including its original expectedRevision and requestId. обязательно по схеме · object
Что вернёт команда
status
Whether the original receipt exists. not_recorded cannot exclude an in-flight operation or establish that nothing committed. обязательно по схеме · string · варианты committed, not_recorded
result
Historical committed save result, or null. Read configuration for current state. обязательно по схеме · object / null
Поля и технические схемы
Входные поля и поля ответа marketing_campaign_get_offline_save_operation
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "input": {
      "type": "object",
      "properties": {
        "campaignId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512,
          "pattern": "^[^/\\u0000-\\u001f\\u007f]+$",
          "description": "Existing native campaign ID. Only an initial multi_channel draft at stage 0 or an existing offline draft is eligible."
        },
        "expectedRevision": {
          "type": "string",
          "pattern": "^fsv1:-?\\d{1,12}:\\d{1,9}$",
          "description": "Exact current revision from marketing_campaign_get_offline_draft_configuration."
        },
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200,
          "description": "Human campaign name."
        },
        "notes": {
          "type": "string",
          "maxLength": 4000,
          "description": "Complete human planning notes; an empty string clears notes."
        },
        "objective": {
          "type": "string",
          "enum": [
            "orders",
            "bookings",
            "leads",
            "calls",
            "messages",
            "store"
          ],
          "description": "Exact native objective selected in the offline editor; this does not execute a booking, call, message or order."
        },
        "establishmentIds": {
          "maxItems": 1,
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 160,
            "pattern": "^[A-Za-z0-9_~:@+.-]+$",
            "description": "Existing company establishment ID."
          },
          "description": "Empty for no selected establishment, or one company establishment as supported by the native single-selection control. Each selected ID is verified server-side."
        },
        "startAt": {
          "type": "string",
          "maxLength": 40,
          "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
          "description": "Explicit absolute start timestamp with Z or UTC offset. Browser-local timezone and date ordering are not inferred."
        },
        "finishAt": {
          "type": "string",
          "maxLength": 40,
          "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
          "description": "Explicit absolute finish timestamp with Z or UTC offset. Omit to preserve the current date; null cannot clear it."
        },
        "requestId": {
          "type": "string",
          "minLength": 8,
          "maxLength": 128,
          "pattern": "^[A-Za-z0-9_-]+$",
          "description": "Stable identifier for these exact save arguments. Recover this same request after an uncertain response."
        }
      },
      "required": [
        "campaignId",
        "expectedRevision",
        "requestId"
      ],
      "additionalProperties": false,
      "description": "Exact original save arguments, including its original expectedRevision and requestId."
    }
  },
  "required": [
    "input"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "committed",
        "not_recorded"
      ],
      "description": "Whether the original receipt exists. not_recorded cannot exclude an in-flight operation or establish that nothing committed."
    },
    "result": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "campaignId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 512,
              "pattern": "^[^/\\u0000-\\u001f\\u007f]+$",
              "description": "Existing native document ID."
            },
            "name": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "description": "Exact saved name. An omitted name is returned without trimming its stored value."
            },
            "notes": {
              "type": "string",
              "maxLength": 4000,
              "description": "Complete human planning notes; an empty string clears notes."
            },
            "objective": {
              "type": "string",
              "enum": [
                "orders",
                "bookings",
                "leads",
                "calls",
                "messages",
                "store"
              ],
              "description": "Exact native objective selected in the offline editor; this does not execute a booking, call, message or order."
            },
            "establishmentIds": {
              "maxItems": 1,
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 160,
                "pattern": "^[A-Za-z0-9_~:@+.-]+$",
                "description": "Existing company establishment ID."
              },
              "description": "Empty for no selected establishment, or one company establishment as supported by the native single-selection control. Each selected ID is verified server-side."
            },
            "startAt": {
              "type": "string",
              "maxLength": 40,
              "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
              "description": "Explicit absolute start timestamp with Z or UTC offset. Browser-local timezone and date ordering are not inferred."
            },
            "finishAt": {
              "type": "string",
              "maxLength": 40,
              "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
              "description": "Explicit absolute finish timestamp with Z or UTC offset. Omit to preserve the current date; null cannot clear it."
            },
            "campaignType": {
              "type": "string",
              "const": "offline",
              "description": "Campaign type recorded by the original save."
            },
            "status": {
              "type": "string",
              "const": "draft",
              "description": "Historical status at save; use configuration read for current state."
            },
            "currency": {
              "type": "string",
              "const": "USD",
              "description": "Native offline form constant; no exchange or provider charge occurs."
            },
            "draftStep": {
              "type": "number",
              "const": 1,
              "description": "Native saved offline editor stage."
            },
            "updatedAt": {
              "type": "string",
              "maxLength": 40,
              "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
              "description": "Server timestamp recorded by this save. Obtain a fresh document revision before another edit."
            }
          },
          "required": [
            "campaignId",
            "name",
            "notes",
            "objective",
            "establishmentIds",
            "startAt",
            "finishAt",
            "campaignType",
            "status",
            "currency",
            "draftStep",
            "updatedAt"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ],
      "description": "Historical committed save result, or null. Read configuration for current state."
    }
  },
  "required": [
    "status",
    "result"
  ],
  "additionalProperties": false
}