Заказы · Изменение
События · Билет · Обмен
events_ticket_exchange
Попробуйте три запроса
Подготовить
- Вы указываетеМероприятие
- ПомощникПодготовка
- Вы получаетеПредпросмотр
Запрос в чат
Подготовь «События / Билет / Обмен». Для изменения нужны мероприятие, ticketId. Покажи объект и ожидаемый эффект до выполнения.
- eventId
- Мероприятие
- ticketId
- Параметр
- targetEventId
- Параметр
Применить
- Вы указываетеСогласованные значения
- ПомощникОдин вызов
- Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «События / Билет / Обмен» с параметром eventId = DEMO-101. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
- eventId
- DEMO-101
- ticketId
- DEMO-101
- targetEventId
- DEMO-101
Проверить итог
- Вы указываетеИсходный ответ
- ПомощникСверка результата
- Вы получаетеПодтверждение
Запрос в чат
Проверь результат «События / Билет / Обмен» по исходному ответу. Покажи результат. Объясни, чем подтвердить эффект для выбранного объекта.
- ЗапросСохранить исходный ключ
- ОтветПроверить статус
- ПроверкаСверить эффект операции
Как работает действие
Этот вызов может изменить рабочие данные. Согласуйте точный объект, новые значения и ожидаемый результат. Присвойте операции стабильный 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
Поля и технические схемы

Вход · 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"
}
}
]
}
}
}