---
title: tm.tickettype
slug: db/tmtickettype
createdAt: 2023-12-14T14:10:57.845Z
---

Tickettype contains the contingents linked to an event.

## Fields

| FIELD                | TYPE       | DESCRIPTION                                                                                                                                                  |
| -------------------- | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| id                   | `int`      | ID                                                                                                                                                           |
| eventid              | `int`      | Link to the event<br />**References:** \[tm.event]\(TODO URL)                                                                                                |
| name                 | `mlstring` | Name for the contingent                                                                                                                                      |
| allocationmethod     | `int`      | Allocationmethod for this contingent: 0 = without seatingplan, so random allocation, 1 = with seatingplan                                                    |
| seatrankid           | `int`      | Optional link to the seatrank for this contingent<br />**References:** [tm.seatrank](docId\:FBVGgWhkNnn3vz7p1iJGd)                                           |
| pricelistid          | `int`      | Link to the pricelist for this contingent. Defines the available prices for this contingent<br />**References:** [tm.pricelist](docId:7lxHTZdDwnza74oorm3Hd) |
| withimportedbarcodes | `bool`     | True when barcodes were imported when creating this contingent. False when barcodes were autogenerated by Ticketmatic                                        |
| eventspecificprices  | `json`     | Specific prices for this contingent                                                                                                                          |

