Get a single event
Content
Resource URL
https://apps.ticketmatic.com/api/1/{accountname}/events/{id}
Example
Request
1use Ticketmatic\Endpoints\Events;
2
3$result = Events::get($client, $id);
Response
1object(\Ticketmatic\Model\Event) (54) {
2 ["id"]=>
3 int(0)
4 ["name"]=>
5 string(11) "Bonobo Live"
6 ["audiopreviewurl"]=>
7 string(92) "https://s3-eu-west-1.amazonaws.com/filestore-ticketmatic-com/test/9876/events/1234/image.jpg"
8 ["availability"]=>
9 array(1) {
10 [0]=>
11 object(\Ticketmatic\Model\EventContingentAvailability) (10) {
12 ["complimentary"]=>
13 int(0)
14 ["free"]=>
15 int(0)
16 ["locked_hard"]=>
17 int(0)
18 ["locked_soft"]=>
19 int(0)
20 ["reserved"]=>
21 int(0)
22 ["sold_paid"]=>
23 int(0)
24 ["sold_unpaid"]=>
25 int(0)
26 ["tickettypeid"]=>
27 int(0)
28 ["total"]=>
29 int(0)
30 ["lastupdatets"]=>
31 object(\DateTime) (3) {
32 ["date"]=>
33 string(26) "2015-05-29 09:21:10.38252.000000"
34 ["timezone_type"]=>
35 int(3)
36 ["timezone"]=>
37 string(3) "UTC"
38 }
39 }
40 }
41 ["code"]=>
42 string(12) "864056970700"
43 ["contingents"]=>
44 array(1) {
45 [0]=>
46 object(\Ticketmatic\Model\EventContingent) (8) {
47 ["id"]=>
48 int(0)
49 ["name"]=>
50 string(7) "Tickets"
51 ["amount"]=>
52 int(0)
53 ["eventid"]=>
54 int(0)
55 ["eventspecificprices"]=>
56 NULL
57 ["locks"]=>
58 array(0) {
59 }
60 ["pricelistid"]=>
61 int(0)
62 ["withimportedbarcodes"]=>
63 bool(false)
64 }
65 }
66 ["currentstatus"]=>
67 int(0)
68 ["description"]=>
69 string(84) "Panda Dub, leading man of the french dub scene returns with a new show: Circle Live!"
70 ["endts"]=>
71 object(\DateTime) (3) {
72 ["date"]=>
73 string(26) "2014-09-26 15:24:36.000000"
74 ["timezone_type"]=>
75 int(3)
76 ["timezone"]=>
77 string(3) "UTC"
78 }
79 ["externalcode"]=>
80 string(11) "56975647832"
81 ["image"]=>
82 string(92) "https://s3-eu-west-1.amazonaws.com/filestore-ticketmatic-com/test/9876/events/1234/image.jpg"
83 ["info"]=>
84 string(34) "Lockers available in the basement."
85 ["layout"]=>
86 object(\Ticketmatic\Model\Layout) (2) {
87 ["color"]=>
88 string(7) "#112233"
89 ["maxImage"]=>
90 bool(true)
91 }
92 ["locationid"]=>
93 int(0)
94 ["locationname"]=>
95 string(12) "Concert hall"
96 ["maxnbrofticketsperbasket"]=>
97 int(0)
98 ["optinsetid"]=>
99 int(0)
100 ["previews"]=>
101 array(3) {
102 [0]=>
103 object(\Ticketmatic\Model\EventPreview) (2) {
104 ["type"]=>
105 int(0)
106 ["url"]=>
107 string(43) "https://www.youtube.com/watch?v=RIGgn1s3AvI"
108 }
109 [1]=>
110 object(\Ticketmatic\Model\EventPreview) (2) {
111 ["type"]=>
112 int(0)
113 ["url"]=>
114 string(43) "https://www.youtube.com/watch?v=6VrqR_GfvzE"
115 }
116 [2]=>
117 object(\Ticketmatic\Model\EventPreview) (2) {
118 ["type"]=>
119 int(0)
120 ["url"]=>
121 string(215) "https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/356544932&color=%23ff5500&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&show_teaser=true&visual=true"
122 }
123 }
124 ["prices"]=>
125 object(\Ticketmatic\Model\EventPrices) (1) {
126 ["contingents"]=>
127 array(1) {
128 [0]=>
129 object(\Ticketmatic\Model\EventPricesContingent) (2) {
130 ["contingentid"]=>
131 int(0)
132 ["pricetypes"]=>
133 array(1) {
134 [0]=>
135 object(\Ticketmatic\Model\EventPricesPricetype) (2) {
136 ["pricetypeid"]=>
137 int(0)
138 ["saleschannels"]=>
139 array(1) {
140 [0]=>
141 object(\Ticketmatic\Model\EventPricesSaleschannel) (5) {
142 ["costs"]=>
143 array(1) {
144 [0]=>
145 object(\Ticketmatic\Model\EventPricesCost) (2) {
146 ["cost"]=>
147 float(5.000000)
148 ["costid"]=>
149 int(0)
150 }
151 }
152 ["price"]=>
153 float(30.500000)
154 ["saleschannelid"]=>
155 int(0)
156 ["servicecharge"]=>
157 float(1.500000)
158 ["tickettypepriceid"]=>
159 int(0)
160 }
161 }
162 }
163 }
164 }
165 }
166 }
167 ["productionid"]=>
168 int(0)
169 ["publishedts"]=>
170 object(\DateTime) (3) {
171 ["date"]=>
172 string(26) "2014-09-26 15:24:36.000000"
173 ["timezone_type"]=>
174 int(3)
175 ["timezone"]=>
176 string(3) "UTC"
177 }
178 ["queuetoken"]=>
179 int(0)
180 ["revenuesplitid"]=>
181 int(0)
182 ["saleendts"]=>
183 object(\DateTime) (3) {
184 ["date"]=>
185 string(26) "2014-09-26 15:24:36.000000"
186 ["timezone_type"]=>
187 int(3)
188 ["timezone"]=>
189 string(3) "UTC"
190 }
191 ["saleschannels"]=>
192 array(1) {
193 [0]=>
194 object(\Ticketmatic\Model\EventSalesChannel) (6) {
195 ["eventid"]=>
196 int(0)
197 ["haswaitinglist"]=>
198 bool(false)
199 ["isactive"]=>
200 bool(true)
201 ["saleendts"]=>
202 object(\DateTime) (3) {
203 ["date"]=>
204 string(26) "2014-09-26 15:24:36.000000"
205 ["timezone_type"]=>
206 int(3)
207 ["timezone"]=>
208 string(3) "UTC"
209 }
210 ["saleschannelid"]=>
211 int(0)
212 ["salestartts"]=>
213 NULL
214 }
215 }
216 ["salestartts"]=>
217 object(\DateTime) (3) {
218 ["date"]=>
219 string(26) "2014-09-26 15:24:36.000000"
220 ["timezone_type"]=>
221 int(3)
222 ["timezone"]=>
223 string(3) "UTC"
224 }
225 ["salestatusmessagesid"]=>
226 int(0)
227 ["schedule"]=>
228 string(38) "20:00 support act
22921:00 show
23022:30 end"
231 ["seatallowsingle"]=>
232 bool(false)
233 ["seated_chartkey"]=>
234 string(0) ""
235 ["seated_contingents"]=>
236 array(1) {
237 [0]=>
238 object(\Ticketmatic\Model\EventContingent) (8) {
239 ["id"]=>
240 int(0)
241 ["name"]=>
242 string(7) "Tickets"
243 ["amount"]=>
244 int(0)
245 ["eventid"]=>
246 int(0)
247 ["eventspecificprices"]=>
248 NULL
249 ["locks"]=>
250 array(0) {
251 }
252 ["pricelistid"]=>
253 int(0)
254 ["withimportedbarcodes"]=>
255 bool(false)
256 }
257 }
258 ["seatingplancontingents"]=>
259 array(2) {
260 [0]=>
261 object(\Ticketmatic\Model\EventSeatingplanContingent) (5) {
262 ["id"]=>
263 int(0)
264 ["name"]=>
265 string(6) "Name A"
266 ["amount"]=>
267 int(0)
268 ["eventid"]=>
269 int(0)
270 ["seatrankid"]=>
271 int(0)
272 }
273 [1]=>
274 object(\Ticketmatic\Model\EventSeatingplanContingent) (5) {
275 ["id"]=>
276 int(0)
277 ["name"]=>
278 string(6) "Name B"
279 ["amount"]=>
280 int(0)
281 ["eventid"]=>
282 int(0)
283 ["seatrankid"]=>
284 int(0)
285 }
286 }
287 ["seatingplaneventspecificprices"]=>
288 object(\Ticketmatic\Model\PricelistPrices) (2) {
289 ["prices"]=>
290 array(2) {
291 [0]=>
292 object(\Ticketmatic\Model\PricelistPrice) (5) {
293 ["availabilities"]=>
294 array(1) {
295 [0]=>
296 bool(true)
297 }
298 ["position"]=>
299 int(0)
300 ["prices"]=>
301 array(1) {
302 [0]=>
303 float(25.000000)
304 }
305 ["pricetypeid"]=>
306 int(0)
307 ["saleschannels"]=>
308 array(2) {
309 [0]=>
310 int(0)
311 [1]=>
312 int(0)
313 }
314 }
315 [1]=>
316 object(\Ticketmatic\Model\PricelistPrice) (6) {
317 ["availabilities"]=>
318 array(1) {
319 [0]=>
320 bool(true)
321 }
322 ["conditions"]=>
323 array(1) {
324 [0]=>
325 object(\Ticketmatic\Model\PricelistPriceCondition) (2) {
326 ["type"]=>
327 string(9) "promocode"
328 ["value"]=>
329 string(9) "UGENT2013"
330 }
331 }
332 ["position"]=>
333 int(0)
334 ["prices"]=>
335 array(1) {
336 [0]=>
337 float(30.000000)
338 }
339 ["pricetypeid"]=>
340 int(0)
341 ["saleschannels"]=>
342 array(2) {
343 [0]=>
344 int(0)
345 [1]=>
346 int(0)
347 }
348 }
349 }
350 ["seatrankids"]=>
351 NULL
352 }
353 ["seatingplanid"]=>
354 int(0)
355 ["seatingplanpricelistid"]=>
356 int(0)
357 ["seatselection"]=>
358 bool(false)
359 ["segmentationtags"]=>
360 array(2) {
361 [0]=>
362 string(4) "tag1"
363 [1]=>
364 string(4) "tag2"
365 }
366 ["servicemailids"]=>
367 array(2) {
368 [0]=>
369 int(0)
370 [1]=>
371 int(0)
372 }
373 ["shortdescription"]=>
374 string(84) "Panda Dub, leading man of the french dub scene returns with a new show: Circle Live!"
375 ["socialdistance"]=>
376 int(0)
377 ["startts"]=>
378 object(\DateTime) (3) {
379 ["date"]=>
380 string(26) "2014-09-26 15:24:36.000000"
381 ["timezone_type"]=>
382 int(3)
383 ["timezone"]=>
384 string(3) "UTC"
385 }
386 ["subtitle"]=>
387 string(14) "With live band"
388 ["subtitle2"]=>
389 string(17) "Exclusive concert"
390 ["tags"]=>
391 array(2) {
392 [0]=>
393 string(10) "event tag1"
394 [1]=>
395 string(10) "event tag2"
396 }
397 ["ticketfeeid"]=>
398 int(0)
399 ["ticketinfoid"]=>
400 int(0)
401 ["ticketlayoutid"]=>
402 int(0)
403 ["totalmaxtickets"]=>
404 int(0)
405 ["translations"]=>
406 array(2) {
407 ["nameen"]=>
408 string(12) "English name"
409 ["namefr"]=>
410 string(12) "Nom francais"
411 }
412 ["upsellid"]=>
413 int(0)
414 ["waitinglisttype"]=>
415 int(0)
416 ["webremark"]=>
417 string(35) "Age will be checked at the entrance"
418 ["createdts"]=>
419 object(\DateTime) (3) {
420 ["date"]=>
421 string(26) "2014-09-26 15:24:36.000000"
422 ["timezone_type"]=>
423 int(3)
424 ["timezone"]=>
425 string(3) "UTC"
426 }
427 ["lastupdatets"]=>
428 object(\DateTime) (3) {
429 ["date"]=>
430 string(26) "2014-09-26 15:24:36.000000"
431 ["timezone_type"]=>
432 int(3)
433 ["timezone"]=>
434 string(3) "UTC"
435 }
436}
Request
1import (
2 "github.com/ticketmatic/tm-go/ticketmatic"
3 "github.com/ticketmatic/tm-go/ticketmatic/events"
4)
5
6result, err := events.Get(client, id)
Response
1result := &ticketmatic.Event{
2 Id: 1269434,
3 Name: "Bonobo Live",
4 Audiopreviewurl: "https://s3-eu-west-1.amazonaws.com/filestore-ticketmatic-com/test/9876/events/1234/image.jpg",
5 Availability: []*ticketmatic.EventContingentAvailability{
6 &ticketmatic.EventContingentAvailability{
7 Complimentary: 0,
8 Free: 815,
9 LockedHard: 10,
10 LockedSoft: 15,
11 Reserved: 0,
12 SoldPaid: 0,
13 SoldUnpaid: 0,
14 Tickettypeid: 89,
15 Total: 840,
16 Lastupdatets: ticketmatic.NewTime(ticketmatic.MustParseTime("2015-05-29 09:21:10.38252")),
17 },
18 },
19 Code: "864056970700",
20 Contingents: []*ticketmatic.EventContingent{
21 &ticketmatic.EventContingent{
22 Id: 98,
23 Name: "Tickets",
24 Amount: 100,
25 Eventid: 777701,
26 Eventspecificprices: nil,
27 Locks: []*ticketmatic.EventContingentLock{
28 },
29 Pricelistid: 6,
30 Withimportedbarcodes: false,
31 },
32 },
33 Currentstatus: 19001,
34 Description: "Panda Dub, leading man of the french dub scene returns with a new show: Circle Live!",
35 Endts: ticketmatic.NewTime(ticketmatic.MustParseTime("2014-09-26 15:24:36")),
36 Externalcode: "56975647832",
37 Image: "https://s3-eu-west-1.amazonaws.com/filestore-ticketmatic-com/test/9876/events/1234/image.jpg",
38 Info: "Lockers available in the basement.",
39 Layout: &ticketmatic.Layout{
40 Color: "#112233",
41 MaxImage: true,
42 },
43 Locationid: 125,
44 Locationname: "Concert hall",
45 Maxnbrofticketsperbasket: 5,
46 Optinsetid: 125,
47 Previews: []*ticketmatic.EventPreview{
48 &ticketmatic.EventPreview{
49 Type: 30002,
50 Url: "https://www.youtube.com/watch?v=RIGgn1s3AvI",
51 },
52 &ticketmatic.EventPreview{
53 Type: 30002,
54 Url: "https://www.youtube.com/watch?v=6VrqR_GfvzE",
55 },
56 &ticketmatic.EventPreview{
57 Type: 30003,
58 Url: "https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/356544932&color=%23ff5500&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&show_teaser=true&visual=true",
59 },
60 },
61 Prices: &ticketmatic.EventPrices{
62 Contingents: []*ticketmatic.EventPricesContingent{
63 &ticketmatic.EventPricesContingent{
64 Contingentid: 1,
65 Pricetypes: []*ticketmatic.EventPricesPricetype{
66 &ticketmatic.EventPricesPricetype{
67 Pricetypeid: 2,
68 Saleschannels: []*ticketmatic.EventPricesSaleschannel{
69 &ticketmatic.EventPricesSaleschannel{
70 Costs: []*ticketmatic.EventPricesCost{
71 &ticketmatic.EventPricesCost{
72 Cost: 5,
73 Costid: 0,
74 },
75 },
76 Price: 30.5,
77 Saleschannelid: 3,
78 Servicecharge: 1.5,
79 Tickettypepriceid: 4,
80 },
81 },
82 },
83 },
84 },
85 },
86 },
87 Productionid: 1256975647,
88 Publishedts: ticketmatic.NewTime(ticketmatic.MustParseTime("2014-09-26 15:24:36")),
89 Queuetoken: 421,
90 Revenuesplitid: 125,
91 Saleendts: ticketmatic.NewTime(ticketmatic.MustParseTime("2014-09-26 15:24:36")),
92 Saleschannels: []*ticketmatic.EventSalesChannel{
93 &ticketmatic.EventSalesChannel{
94 Eventid: 123,
95 Haswaitinglist: false,
96 Isactive: true,
97 Saleendts: ticketmatic.NewTime(ticketmatic.MustParseTime("2014-09-26 15:24:36")),
98 Saleschannelid: 1,
99 Salestartts: ticketmatic.NewTime(ticketmatic.MustParseTime(<nil>)),
100 },
101 },
102 Salestartts: ticketmatic.NewTime(ticketmatic.MustParseTime("2014-09-26 15:24:36")),
103 Salestatusmessagesid: 125,
104 Schedule: "20:00 support act\n21:00 show\n22:30 end",
105 Seatallowsingle: false,
106 SeatedChartkey: "",
107 SeatedContingents: []*ticketmatic.EventContingent{
108 &ticketmatic.EventContingent{
109 Id: 98,
110 Name: "Tickets",
111 Amount: 100,
112 Eventid: 777701,
113 Eventspecificprices: nil,
114 Locks: []*ticketmatic.EventContingentLock{
115 },
116 Pricelistid: 6,
117 Withimportedbarcodes: false,
118 },
119 },
120 Seatingplancontingents: []*ticketmatic.EventSeatingplanContingent{
121 &ticketmatic.EventSeatingplanContingent{
122 Id: 99,
123 Name: "Name A",
124 Amount: 50,
125 Eventid: 777702,
126 Seatrankid: 1,
127 },
128 &ticketmatic.EventSeatingplanContingent{
129 Id: 100,
130 Name: "Name B",
131 Amount: 50,
132 Eventid: 777702,
133 Seatrankid: 2,
134 },
135 },
136 Seatingplaneventspecificprices: &ticketmatic.PricelistPrices{
137 Prices: []*ticketmatic.PricelistPrice{
138 &ticketmatic.PricelistPrice{
139 Availabilities: []bool{
140 true,
141 },
142 Position: 3,
143 Prices: []float64{
144 25,
145 },
146 Pricetypeid: 1,
147 Saleschannels: []int64{
148 1,
149 2,
150 },
151 },
152 &ticketmatic.PricelistPrice{
153 Availabilities: []bool{
154 true,
155 },
156 Conditions: []*ticketmatic.PricelistPriceCondition{
157 &ticketmatic.PricelistPriceCondition{
158 Type: "promocode",
159 Value: "UGENT2013",
160 },
161 },
162 Position: 7,
163 Prices: []float64{
164 30,
165 },
166 Pricetypeid: 2,
167 Saleschannels: []int64{
168 1,
169 2,
170 },
171 },
172 },
173 Seatrankids: nil,
174 },
175 Seatingplanid: 125,
176 Seatingplanpricelistid: 125,
177 Seatselection: false,
178 Segmentationtags: []string{
179 "tag1",
180 "tag2",
181 },
182 Servicemailids: []int64{
183 1,
184 2,
185 },
186 Shortdescription: "Panda Dub, leading man of the french dub scene returns with a new show: Circle Live!",
187 Socialdistance: 50001,
188 Startts: ticketmatic.NewTime(ticketmatic.MustParseTime("2014-09-26 15:24:36")),
189 Subtitle: "With live band",
190 Subtitle2: "Exclusive concert",
191 Tags: []string{
192 "event tag1",
193 "event tag2",
194 },
195 Ticketfeeid: 125,
196 Ticketinfoid: 125,
197 Ticketlayoutid: 125,
198 Totalmaxtickets: 1000,
199 Translations: map[string]string{
200 "nameen": "English name",
201 "namefr": "Nom francais",
202 },
203 Upsellid: 125,
204 Waitinglisttype: 29001,
205 Webremark: "Age will be checked at the entrance",
206 Createdts: ticketmatic.NewTime(ticketmatic.MustParseTime("2014-09-26 15:24:36")),
207 Lastupdatets: ticketmatic.NewTime(ticketmatic.MustParseTime("2014-09-26 15:24:36")),
208}
Request
1GET /api/1/{accountname}/events/{id} HTTP/1.1
Response
1HTTP/1.1 200 OK
2Content-Type: application/json
3
4{
5 "id": 1269434,
6 "name": "Bonobo Live",
7 "audiopreviewurl": "https://s3-eu-west-1.amazonaws.com/filestore-ticketmatic-com/test/9876/events/1234/image.jpg",
8 "availability": [
9 {
10 "complimentary": 0,
11 "free": 815,
12 "locked_hard": 10,
13 "locked_soft": 15,
14 "reserved": 0,
15 "sold_paid": 0,
16 "sold_unpaid": 0,
17 "tickettypeid": 89,
18 "total": 840,
19 "lastupdatets": "2015-05-29 09:21:10.38252"
20 }
21 ],
22 "code": "864056970700",
23 "contingents": [
24 {
25 "id": 98,
26 "name": "Tickets",
27 "amount": 100,
28 "eventid": 777701,
29 "eventspecificprices": null,
30 "locks": [],
31 "pricelistid": 6,
32 "withimportedbarcodes": false
33 }
34 ],
35 "currentstatus": 19001,
36 "description": "Panda Dub, leading man of the french dub scene returns with a new show: Circle Live!",
37 "endts": "2014-09-26 15:24:36",
38 "externalcode": "56975647832",
39 "image": "https://s3-eu-west-1.amazonaws.com/filestore-ticketmatic-com/test/9876/events/1234/image.jpg",
40 "info": "Lockers available in the basement.",
41 "layout": {
42 "color": "#112233",
43 "maxImage": true
44 },
45 "locationid": 125,
46 "locationname": "Concert hall",
47 "maxnbrofticketsperbasket": 5,
48 "optinsetid": 125,
49 "previews": [
50 {
51 "type": 30002,
52 "url": "https://www.youtube.com/watch?v=RIGgn1s3AvI"
53 },
54 {
55 "type": 30002,
56 "url": "https://www.youtube.com/watch?v=6VrqR_GfvzE"
57 },
58 {
59 "type": 30003,
60 "url": "https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/356544932&color=%23ff5500&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&show_teaser=true&visual=true"
61 }
62 ],
63 "prices": {
64 "contingents": [
65 {
66 "contingentid": 1,
67 "pricetypes": [
68 {
69 "pricetypeid": 2,
70 "saleschannels": [
71 {
72 "costs": [
73 {
74 "cost": 5.000000,
75 "costid": 0
76 }
77 ],
78 "price": 30.500000,
79 "saleschannelid": 3,
80 "servicecharge": 1.500000,
81 "tickettypepriceid": 4
82 }
83 ]
84 }
85 ]
86 }
87 ]
88 },
89 "productionid": 1256975647,
90 "publishedts": "2014-09-26 15:24:36",
91 "queuetoken": 421,
92 "revenuesplitid": 125,
93 "saleendts": "2014-09-26 15:24:36",
94 "saleschannels": [
95 {
96 "eventid": 123,
97 "haswaitinglist": false,
98 "isactive": true,
99 "saleendts": "2014-09-26 15:24:36",
100 "saleschannelid": 1,
101 "salestartts": null
102 }
103 ],
104 "salestartts": "2014-09-26 15:24:36",
105 "salestatusmessagesid": 125,
106 "schedule": "20:00 support act
10721:00 show
10822:30 end",
109 "seatallowsingle": false,
110 "seated_chartkey": "",
111 "seated_contingents": [
112 {
113 "id": 98,
114 "name": "Tickets",
115 "amount": 100,
116 "eventid": 777701,
117 "eventspecificprices": null,
118 "locks": [],
119 "pricelistid": 6,
120 "withimportedbarcodes": false
121 }
122 ],
123 "seatingplancontingents": [
124 {
125 "id": 99,
126 "name": "Name A",
127 "amount": 50,
128 "eventid": 777702,
129 "seatrankid": 1
130 },
131 {
132 "id": 100,
133 "name": "Name B",
134 "amount": 50,
135 "eventid": 777702,
136 "seatrankid": 2
137 }
138 ],
139 "seatingplaneventspecificprices": {
140 "prices": [
141 {
142 "availabilities": [
143 true
144 ],
145 "position": 3,
146 "prices": [ 25.000000 ],
147 "pricetypeid": 1,
148 "saleschannels": [ 1, 2 ]
149 },
150 {
151 "availabilities": [
152 true
153 ],
154 "conditions": [
155 {
156 "type": "promocode",
157 "value": "UGENT2013"
158 }
159 ],
160 "position": 7,
161 "prices": [ 30.000000 ],
162 "pricetypeid": 2,
163 "saleschannels": [ 1, 2 ]
164 }
165 ],
166 "seatrankids": null
167 },
168 "seatingplanid": 125,
169 "seatingplanpricelistid": 125,
170 "seatselection": false,
171 "segmentationtags": [
172 "tag1",
173 "tag2"
174 ],
175 "servicemailids": [ 1, 2 ],
176 "shortdescription": "Panda Dub, leading man of the french dub scene returns with a new show: Circle Live!",
177 "socialdistance": 50001,
178 "startts": "2014-09-26 15:24:36",
179 "subtitle": "With live band",
180 "subtitle2": "Exclusive concert",
181 "tags": [
182 "event tag1",
183 "event tag2"
184 ],
185 "ticketfeeid": 125,
186 "ticketinfoid": 125,
187 "ticketlayoutid": 125,
188 "totalmaxtickets": 1000,
189 "translations": {
190 "nameen": "English name",
191 "namefr": "Nom francais"
192 },
193 "upsellid": 125,
194 "waitinglisttype": 29001,
195 "webremark": "Age will be checked at the entrance",
196 "createdts": "2014-09-26 15:24:36",
197 "lastupdatets": "2014-09-26 15:24:36"
198}
Result fields
Field | Description |
---|---|
id int | Event ID Example value:1269434 |
name | Event name Example value:"Bonobo Live" |
audiopreviewurl string | The audio preview url for the event Example value:"https://s3-eu-west-1.amazonaws.com/filestore-ticketmatic-com/test/9876/events/1234/image.jpg" |
availability | Information on the availability of tickets per contingent. Read-only. Example value:[ { "complimentary": 0, "free": 815, "locked_hard": 10, "locked_soft": 15, "reserved": 0, "sold_paid": 0, "sold_unpaid": 0, "tickettypeid": 89, "total": 840, "lastupdatets": "2015-05-29 09:21:10.38252" } ] |
code string | Event code. Used as a unique identifier in web sales. Example value:"864056970700" |
contingents | Information about the contingents in the Event that are not in the seatingplan Example value:[ { "id": 98, "name": "Tickets", "amount": 100, "eventid": 777701, "eventspecificprices": null, "locks": [], "pricelistid": 6, "withimportedbarcodes": false } ] |
currentstatus int | Event status The available values for this field can be found on the Event page. Example value:19001 |
description | Description of the event, visible for ticket buyers Example value:"Panda Dub, leading man of the french dub scene returns with a new show: Circle Live!" |
endts timestamp | Event end time Example value:"2014-09-26 15:24:36" |
externalcode string | External event code. This field is typically set when importing data from other systems. Example value:"56975647832" |
image string | The image url for the event display image Example value:"https://s3-eu-west-1.amazonaws.com/filestore-ticketmatic-com/test/9876/events/1234/image.jpg" |
info | Practical info for the event, visible for ticket buyers Example value:"Lockers available in the basement." |
layout | Layout parameters for the event Example value:{ "color": "#112233", "maxImage": true } |
locationid int | Event location ID See event locations for more information. Example value:125 |
locationname string | Event location name Automatically derived using "Concert hall" |
maxnbrofticketsperbasket int | Maximum number of tickets for this event that can be added to a basket Example value:5 |
optinsetid int | Opt-in set id Example value:125 |
previews | Preview urls for the event. Example value:[ { "type": 30002, "url": "https://www.youtube.com/watch?v=RIGgn1s3AvI" }, { "type": 30002, "url": "https://www.youtube.com/watch?v=6VrqR_GfvzE" }, { "type": 30003, "url": "https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/356544932&color=%23ff5500&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&show_teaser=true&visual=true" } ] |
prices | Information on the available prices for the event Example value:{ "contingents": [ { "contingentid": 1, "pricetypes": [ { "pricetypeid": 2, "saleschannels": [ { "costs": [ { "cost": 5.000000, "costid": 0 } ], "price": 30.500000, "saleschannelid": 3, "servicecharge": 1.500000, "tickettypepriceid": 4 } ] } ] } ] } |
productionid int | Production ID Example value:1256975647 |
publishedts timestamp | Event publish time Example value:"2014-09-26 15:24:36" |
queuetoken int | Queue ID Example value:421 |
revenuesplitid int | DEPRECATED Example value:125 |
saleendts timestamp | Time of end of sales. Used for all sales channels for which no specific sales period has been defined. Example value:"2014-09-26 15:24:36" |
saleschannels | Per-sales channel information about when this event is for sale. Example value:[ { "eventid": 123, "haswaitinglist": false, "isactive": true, "saleendts": "2014-09-26 15:24:36", "saleschannelid": 1, "salestartts": null } ] |
salestartts timestamp | Time of start of sales. Used for all sales channels for which no specific sales period has been defined. Example value:"2014-09-26 15:24:36" |
salestatusmessagesid int | Salestatus messages id Example value:125 |
schedule | Schedule for the event, visible for ticket buyers Example value:"20:00 support act 21:00 show 22:30 end" |
seatallowsingle bool | Allow or disallow leaving single seats on their own. |
seated_chartkey string | |
seated_contingents | Seated contingents Example value:[ { "id": 98, "name": "Tickets", "amount": 100, "eventid": 777701, "eventspecificprices": null, "locks": [], "pricelistid": 6, "withimportedbarcodes": false } ] |
seatingplancontingents | Information about the contingents defined in the seatingplan. Read-only. Example value:[ { "id": 99, "name": "Name A", "amount": 50, "eventid": 777702, "seatrankid": 1 }, { "id": 100, "name": "Name B", "amount": 50, "eventid": 777702, "seatrankid": 2 } ] |
seatingplaneventspecificprices | Event specific prices in addition to the prices defined in the field { "prices": [ { "availabilities": [ true ], "position": 3, "prices": [ 25.000000 ], "pricetypeid": 1, "saleschannels": [ 1, 2 ] }, { "availabilities": [ true ], "conditions": [ { "type": "promocode", "value": "UGENT2013" } ], "position": 7, "prices": [ 30.000000 ], "pricetypeid": 2, "saleschannels": [ 1, 2 ] } ], "seatrankids": null } |
seatingplanid int | Seating plan ID Only set for events with fixed seats. Example value:125 |
seatingplanpricelistid int | Price list ID for fixed seats. Only set for events with fixed seats. See price lists for more information. Example value:125 |
seatselection bool | Enable or disable seat selection for customers. |
segmentationtags string[] | Segmentation tags Example value:[ "tag1", "tag2" ] |
servicemailids int[] | servicemailids Example value:[ 1, 2 ] |
shortdescription | Short description of the event, visible for ticket buyers Example value:"Panda Dub, leading man of the french dub scene returns with a new show: Circle Live!" |
socialdistance int | Social distance type. Determines if social distance must be practiced. Example value:50001 |
startts timestamp | Event start time Example value:"2014-09-26 15:24:36" |
subtitle | Event subtitle Example value:"With live band" |
subtitle2 | Event subtitle (2) Example value:"Exclusive concert" |
tags string[] | Event tags Example value:[ "event tag1", "event tag2" ] |
ticketfeeid int | Ticket fee ID Determines which ticket fee rules are used for this event. See ticket fees for more information. Example value:125 |
ticketinfoid int | Ticketinfo id Example value:125 |
ticketlayoutid int | Ticket layout ID See ticket layouts for more information. Example value:125 |
totalmaxtickets int | Determines the total maximum amount of tickets that can be sold for event. Example value:1000 |
translations map<string, string> | Translation of event fields Example value:{ "nameen": "English name", "namefr": "Nom francais" } |
upsellid int | Upsell id Example value:125 |
waitinglisttype int | The type of the waiting list the event uses Example value:29001 |
webremark | Small description that will be shown on the sales pages of this event Example value:"Age will be checked at the entrance" |
createdts timestamp | Created timestamp Example value:"2014-09-26 15:24:36" |
lastupdatets timestamp | Last updated timestamp Example value:"2014-09-26 15:24:36" |
Type reference: Event