К содержанию
TelegaFirst

Для AI-агентов: markdown этой страницы — /docs/mcp-tool-approve-event-registration.mdиндекс документации — /llms.txt

approve_event_registration

Обновлено

Approve an application to an event that admits by approval. The application carries the tickets the buyer chose: ticket type, quantity, seats; while it waits they are not held. Approving opens the buyer's order of those tickets and sends the buyer its payment card; the seats are held for the event's approval_hold_hours (48 h by default, never past the start), unpaid by then the order lapses and the seats are on sale again. A free ticket type gives the tickets at once; an event without ticket types takes its one seat now. To approve another choice, send ticket_type_id with quantity and seat_keys: the buyer gets that choice; the holders the application named go to its first tickets, and more tickets than holders answers HOLDER_INCOMPLETE. No room answers EVENT_SOLD_OUT, STOCK_EXHAUSTED, SEAT_TAKEN or SEAT_GROUP_PARTIAL and nothing changes: approve other seats or another ticket type. An application without a ticket type on an event that sells them answers EVENT_TIER_REQUIRED: send ticket_type_id. One approval opens one order. registration_id is the application number (the `id` of list_event_registrations, status pending). The answer carries the application status after the decision and, when a paid approval opened the buyer's order, its order_id. An application that is already decided answers CONFLICT: read it with get_event_registration.

Права и условия

required_scopes: ALL.

ПолеЗначение
description"Approve an application to an event that admits by approval. The application carries the tickets the buyer chose: ticket type, quantity, seats; while it waits they are not held. Approving opens the buyer's order of those tickets and sends the buyer its payment card; the seats are held for the event's approval_hold_hours (48 h by default, never past the start), unpaid by then the order lapses and the seats are on sale again. A free ticket type gives the tickets at once; an event without ticket types takes its one seat now. To approve another choice, send ticket_type_id with quantity and seat_keys: the buyer gets that choice; the holders the application named go to its first tickets, and more tickets than holders answers HOLDER_INCOMPLETE. No room answers EVENT_SOLD_OUT, STOCK_EXHAUSTED, SEAT_TAKEN or SEAT_GROUP_PARTIAL and nothing changes: approve other seats or another ticket type. An application without a ticket type on an event that sells them answers EVENT_TIER_REQUIRED: send ticket_type_id. One approval opens one order. registration_id is the application number (the `id` of list_event_registrations, status pending). The answer carries the application status after the decision and, when a paid approval opened the buyer's order, its order_id. An application that is already decided answers CONFLICT: read it with get_event_registration."
domain"events"
name"approve_event_registration"
platform_version"1.0.34"
required_scopes["events:write"]
risk"write"
scope"events:write"
title"Approve Event Registration"

Входные параметры

approve_event_registration: inputSchema

Результат

approve_event_registration: outputSchema