MCP Control
Отзывы · Чтение

Клиенты · Отзывы · Результат операции «заявка»

customer_reviews_get_submission_result
Часы и календарь у стойки записи

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

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

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

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

Recover the publication acknowledgment of customer_reviews_submit_own_order with its exact original arguments, including target when supplied. Requires current access to the same own order and target and never creates or changes a review.

Параметры запроса
orderId
Идентификатор выбранного заказа. обязательно по схеме · string · до символов 160
text
Your own review text to publish in the native customer review record. Do not supply someone else's review, a provider reply or private support correspondence. обязательно по схеме · string · до символов 4000
rating
Explicit native whole-star score from 0 to 5 for the selected establishment, product or courier. Requires an explicit target. Omit to keep the review unrated; no score is inferred. необязательно · integer · минимум 0 · максимум 5
target
Explicit native review target. Omit to retain the original untargeted own-order submission. Target IDs never establish company authority. A courier target is resolved only from the own archived order; no external provider is inferred. необязательно
requestId
Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
Что вернёт команда
state
Whether the exact review submission receipt is committed. not_recorded does not rule out a request still in progress. обязательно по схеме · string · варианты committed, not_recorded
result
Historical publication acknowledgment, or null. The lookup never posts a review or unlocks an existing request. обязательно по схеме · object / null
Поля и технические схемы
Входные поля и поля ответа customer_reviews_get_submission_result
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "orderId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 160,
      "pattern": "^[A-Za-z0-9_~:@+.-]+$",
      "description": "Exact archived_orders identifier for an existing order whose stored customer is your authenticated Firebase account. Other customers and active Firestore-only orders are not accepted."
    },
    "text": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4000,
      "description": "Your own review text to publish in the native customer review record. Do not supply someone else's review, a provider reply or private support correspondence."
    },
    "rating": {
      "description": "Explicit native whole-star score from 0 to 5 for the selected establishment, product or courier. Requires an explicit target. Omit to keep the review unrated; no score is inferred.",
      "type": "integer",
      "minimum": 0,
      "maximum": 5
    },
    "target": {
      "description": "Explicit native review target. Omit to retain the original untargeted own-order submission. Target IDs never establish company authority. A courier target is resolved only from the own archived order; no external provider is inferred.",
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "establishment",
              "description": "Review the company-owned establishment resolved from this own order."
            }
          },
          "required": [
            "kind"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "product",
              "description": "Review one existing product or service recorded on this own order."
            },
            "productId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 160,
              "pattern": "^[A-Za-z0-9_~:@+.-]+$",
              "description": "Canonical product ID from the own order. The server verifies its order-line association and current company ownership."
            }
          },
          "required": [
            "kind",
            "productId"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "courier",
              "description": "Review the courier ID recorded in this own archived order. The server resolves the target; no employee or user ID can be supplied."
            }
          },
          "required": [
            "kind"
          ],
          "additionalProperties": false
        }
      ]
    },
    "requestId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{8,128}$",
      "description": "Stable unique identifier for this exact submission. Preserve the order and text when retrying or recovering its result."
    }
  },
  "required": [
    "orderId",
    "text",
    "requestId"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "state": {
      "type": "string",
      "enum": [
        "committed",
        "not_recorded"
      ],
      "description": "Whether the exact review submission receipt is committed. not_recorded does not rule out a request still in progress."
    },
    "result": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "reviewId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 160,
              "pattern": "^[A-Za-z0-9_~:@+.-]+$",
              "description": "Canonical stored customer_reviews identifier for this self-authored review."
            },
            "orderId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 160,
              "pattern": "^[A-Za-z0-9_~:@+.-]+$",
              "description": "Existing archived order checked for ownership when the review was submitted."
            },
            "locationId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 160,
              "pattern": "^[A-Za-z0-9_~:@+.-]+$",
              "description": "Company-owned establishment resolved from the order by the server."
            },
            "publishedAt": {
              "type": "string",
              "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 publication timestamp in the native review record."
            },
            "provider": {
              "type": "string",
              "const": "sabsus",
              "description": "Native feedback provider. This action does not publish to Google or any external review service."
            },
            "rating": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 5
                },
                {
                  "type": "null"
                }
              ],
              "description": "The explicitly supplied native whole-star score, or null when no rating was supplied."
            },
            "target": {
              "description": "Present only for an explicitly requested business-target review; legacy untargeted results retain their original shape.",
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "enum": [
                    "establishment",
                    "product",
                    "courier"
                  ],
                  "description": "Verified native business target kind; no external provider rating scale is inferred."
                },
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 160,
                  "pattern": "^[A-Za-z0-9_~:@+.-]+$",
                  "description": "Native target identifier resolved through the own order. This native review target is not a parent review ID."
                }
              },
              "required": [
                "kind",
                "id"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "reviewId",
            "orderId",
            "locationId",
            "publishedAt",
            "provider",
            "rating"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ],
      "description": "Historical publication acknowledgment, or null. The lookup never posts a review or unlocks an existing request."
    }
  },
  "required": [
    "state",
    "result"
  ],
  "additionalProperties": false
}