MCP Control
Заказы · Изменение

События · Билет · Обмен

events_ticket_exchange
Упакованный заказ на стойке

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

Подготовить
  1. Вы указываетеМероприятие
  2. ПомощникПодготовка
  3. Вы получаетеПредпросмотр
Запрос в чат
Подготовь «События / Билет / Обмен». Для изменения нужны мероприятие, ticketId. Покажи объект и ожидаемый эффект до выполнения.
Что входит в подготовку
eventId
Мероприятие
ticketId
Параметр
targetEventId
Параметр
Применить
  1. Вы указываетеСогласованные значения
  2. ПомощникОдин вызов
  3. Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «События / Билет / Обмен» с параметром eventId = DEMO-101. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
Фрагмент учебных параметров
eventId
DEMO-101
ticketId
DEMO-101
targetEventId
DEMO-101
Проверить итог
  1. Вы указываетеИсходный ответ
  2. ПомощникСверка результата
  3. Вы получаетеПодтверждение
Запрос в чат
Проверь результат «События / Билет / Обмен» по исходному ответу. Покажи результат. Объясни, чем подтвердить эффект для выбранного объекта.
Как проследить одну попытку
  1. ЗапросСохранить исходный ключ
  2. ОтветПроверить статус
  3. ПроверкаСверить эффект операции
Как работает действие

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

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

Exchange an unused ticket for an equivalent seat or session with availability checked atomically.

Параметры запроса
eventId
Native event session ID. обязательно по схеме · string
ticketId
Ticket ID from the event roster. обязательно по схеме · string
targetEventId
Destination event or the current event for a seat change. обязательно по схеме · string
sectionId
Destination seat section. обязательно по схеме · string
number
Destination seat or capacity unit number. обязательно по схеме · integer · максимум 9007199254740991
expectedSeat
Current seat key, sectionId:number. обязательно по схеме · string · до символов 180
requestId
Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
Что вернёт команда
result
Event record, bounded page, credential verification or committed operation receipt. обязательно по схеме · object
Поля и технические схемы
Входные поля и поля ответа events_ticket_exchange
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "eventId": {
      "description": "Native event session ID.",
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{1,80}$"
    },
    "ticketId": {
      "description": "Ticket ID from the event roster.",
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{1,80}$"
    },
    "targetEventId": {
      "description": "Destination event or the current event for a seat change.",
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{1,80}$"
    },
    "sectionId": {
      "description": "Destination seat section.",
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{1,80}$"
    },
    "number": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991,
      "description": "Destination seat or capacity unit number."
    },
    "expectedSeat": {
      "type": "string",
      "maxLength": 180,
      "description": "Current seat key, sectionId:number."
    },
    "requestId": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      "description": "Stable UUID for this operation and its unchanged arguments."
    }
  },
  "required": [
    "eventId",
    "ticketId",
    "targetEventId",
    "sectionId",
    "number",
    "expectedSeat",
    "requestId"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "result": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "$ref": "#/$defs/__schema0"
      },
      "description": "Event record, bounded page, credential verification or committed operation receipt."
    }
  },
  "required": [
    "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"
          }
        }
      ]
    }
  }
}