EventTicket
A single ticket.
Fields
Field | Description |
---|---|
id int (required) | Ticket ID Example value:128942 |
orderid int | Link to the order the ticket is contained in Example value:6421522 |
accesscontrollastenteredscandeviceid int | The id of the scanner used for the last succesful entry Example value:238 |
accesscontrollastenteredts timestamp | The timestamp of the last succesful entry with this ticket Example value:"2014-09-26 15:24:36" |
accesscontrollastexitscandeviceid int | The id of the scanner used for the last succesful exit |
accesscontrollastexitts timestamp | The timestamp of the last succesful exit with this ticket Example value:"2014-09-26 15:24:36" |
accesscontrolstatus int | The access control status for this ticket. 0 means not scanned, 1 means succesful entry, 2 means succesful exit |
barcode string | Ticket barcode Example value:"418981919819" |
bundleid int | Link to the bundle (orderproduct) that this ticket belongs to. Example value:421 |
locktypeid int | Link to the locktype used for locking the ticket Example value:421 |
orderfee decimal | Fee for the ticket in the order Example value:5.250000 |
price decimal | Price for the ticket in the order (without fee) Example value:25.000000 |
properties map<string, string> | String to string key-value mapping of properties Example value:{ "key1": "value1", "key2": "value2" } |
seatdescription string | The seat description for this ticket (only for seated tickets) Example value:"Seat 35C" |
seatid string | Seat ID (for seated tickets) Example value:"s002034001" |
seatpriority int | Number indicating the priority for this ticket for the best available algorithm. Tickets with a higher priority will be considered first when performing a best available allocation. Example value:1243 |
seatrownumber string | Row number for the ticket (only for seated tickets) Example value:"C" |
seatseatnumber string | Seat number for the ticket (only for seated tickets) Example value:"12" |
seatzoneid int | Optional seatzone for the ticket Example value:4 |
seatzonename string | Zone name for the ticket (only for seated tickets) Example value:"Main Grandstand" |
ticketholderid int | Optional link to the contact that is the ticketholder for this ticket Example value:11023 |
ticketname string | Optional name on the ticket Example value:"Bob Smith" |
tickettypeid int | Link to the contingent this ticket belongs to Example value:123 |
tickettypepriceid int | Link to the tickettypeprice that is assigned to this ticket for the order. Through the tickettypeprice you can retrieve the pricetype Example value:9482 |
transferredto int | Link to the contact that the ticket was transferred to Example value:11023 |
vouchercodeid int | Link to the vouchercode that was used to reserve this ticket. Example value:32 |
This type can have custom fields
Example
1{
2 "id": 128942,
3 "orderid": 6421522,
4 "accesscontrollastenteredscandeviceid": 238,
5 "accesscontrollastenteredts": "2014-09-26 15:24:36",
6 "accesscontrollastexitscandeviceid": 0,
7 "accesscontrollastexitts": "2014-09-26 15:24:36",
8 "accesscontrolstatus": 0,
9 "barcode": "418981919819",
10 "bundleid": 421,
11 "locktypeid": 421,
12 "orderfee": 5.250000,
13 "price": 25.000000,
14 "properties": {
15 "key1": "value1",
16 "key2": "value2"
17 },
18 "seatdescription": "Seat 35C",
19 "seatid": "s002034001",
20 "seatpriority": 1243,
21 "seatrownumber": "C",
22 "seatseatnumber": "12",
23 "seatzoneid": 4,
24 "seatzonename": "Main Grandstand",
25 "ticketholderid": 11023,
26 "ticketname": "Bob Smith",
27 "tickettypeid": 123,
28 "tickettypepriceid": 9482,
29 "transferredto": 11023,
30 "vouchercodeid": 32
31}