EventContingent
Information about a contingent for an event.
Fields
Field | Description |
---|---|
id int | Contingent ID Example value:1269 |
name string (required) | Name of the contingent Example value:"Contingent A" |
amount int (required) | Number of tickets in the contingent Example value:1000 |
eventid int | Event ID Example value:1269434 |
eventspecificprices | 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 } |
locks | Locked tickets for the contingent Example value:[ { "amount": 10, "locktypeid": 1, "tickettypeid": 89 }, { "amount": 15, "locktypeid": 2, "tickettypeid": 89 } ] |
pricelistid int | Price list ID for this contingent Example value:125 |
withimportedbarcodes bool | Whether the barcodes for the tickets in this contingent were imported (true), or were generated internally (false) Example value:true |
Example
1{
2 "id": 1269,
3 "name": "Contingent A",
4 "amount": 1000,
5 "eventid": 1269434,
6 "eventspecificprices": {
7 "prices": [
8 {
9 "availabilities": [
10 true
11 ],
12 "position": 3,
13 "prices": [ 25.000000 ],
14 "pricetypeid": 1,
15 "saleschannels": [ 1, 2 ]
16 },
17 {
18 "availabilities": [
19 true
20 ],
21 "conditions": [
22 {
23 "type": "promocode",
24 "value": "UGENT2013"
25 }
26 ],
27 "position": 7,
28 "prices": [ 30.000000 ],
29 "pricetypeid": 2,
30 "saleschannels": [ 1, 2 ]
31 }
32 ],
33 "seatrankids": null
34 },
35 "locks": [
36 {
37 "amount": 10,
38 "locktypeid": 1,
39 "tickettypeid": 89
40 },
41 {
42 "amount": 15,
43 "locktypeid": 2,
44 "tickettypeid": 89
45 }
46 ],
47 "pricelistid": 125,
48 "withimportedbarcodes": true
49}