A registration of a Badge to an Event.
You must have the registration
ConventionPrivilege to access this.
Tickets are accessed via /api/ticket
.
See "Object Properties" in Introduction for basic shared properties.
Complete details in TicketProperties.
See "Related Objects" in Introduction for how to use them.
The Badge this ticket belongs to.
The BadgeType of the ticket, if the ticket was complimentary with a BadgeType.
The Convention this ticket belongs to.
The Event this ticket belongs to.
The EventGroup of the ticket, if the ticket was complimentary with an EventGroup associated with a BadgeType.
See "Includes" in Introduction for how to use them.
A very descriptive name for this ticket.
It pulls data from several objects,
which is why it is not included by default.
For a ticket,
it is the shortname
concatenated with a ":"
and the mediumname
.
The name of the event concatenated with the user's badge name, e.g. "[event name] for [badge name/info]".
The services used to fetch and manipulate tickets.
You almost certainly want to add it to a ConventionCart instead of creating one. Or if you want to administratively create one, then use that method.
POST /api/ticket
Returns the same as a normal read.
This will create a ticket that is fully verified. You'll need to have the registration
ConventionPrivilege to do this.
POST /api/ticket/verified
The same as the Create Ticket service.
Returns the same as a normal read.
GET /api/ticket/xxx
Returns:
{ "id" : "xxx", "name" : "The Captain is Dead", ... }
PUT /api/ticket/xxx
Returns the same as a normal read.
DELETE /api/ticket/xxx
You need to specify this to refund if purchased with cash in the point of sale system.
Returns:
{ "success" : 1 }
PUT /api/ticket/xxx/pick-up
Returns the same as a normal read.
PUT /api/ticket/xxx/reverse-pick-up
Returns the same as a normal read.
This refunds a charge for a ticket without deleting it. Use of this endpoint requires the registration
privilege.
PUT /api/ticket/xxx/convert/free
Returns the same as a normal read.
Convert a ticket purchase to a different Event. This will charge or refund the difference in the costs. This cannot be used for organizer-granted tickets.
POST /api/ticket/xxx/convert/event/:event_id
Returns a normal read of the add-on converted to.
Toggle a ticket's tournament status (in tournament, or eliminated). Calling this for tickets which are not for a tournament event will raise an error.
PUT /api/ticket/xxx/in-tournament