PriceList

A single price list.

More info: see the get operation and the price lists endpoint.

Fields

FieldDescription
id
int 
(required)

Unique ID

Example value:123
name
string 
(required)

Name for the pricelist

Example value:"Dance"
hasranks
bool 
(required)

Boolean indicating whether this pricelist has ranks or not

prices
PricelistPrices 
(required)

Definition of the actual prices and conditions for the pricelist

Example value:{ "prices": [ { "prices": [ 25.000000 ], "pricetypeid": 1 }, { "conditions": [ { "type": "promocode", "value": "UGENT2013" } ], "prices": [ 30.000000 ], "pricetypeid": 2 } ], "seatrankids": null }
isarchived
bool 
(required)

Whether or not this item is archived

createdts
timestamp 
(required)

Created timestamp

Example value:"2014-09-26 15:24:36"
lastupdatets
timestamp 
(required)

Last updated timestamp

Example value:"2014-09-26 15:24:36"

Example

 1{
 2    "id": 123,
 3    "name": "Dance",
 4    "hasranks": false,
 5    "prices": {
 6        "prices": [
 7            {
 8                "prices": [ 25.000000 ],
 9                "pricetypeid": 1
10            },
11            {
12                "conditions": [
13                    {
14                        "type": "promocode",
15                        "value": "UGENT2013"
16                    }
17                ],
18                "prices": [ 30.000000 ],
19                "pricetypeid": 2
20            }
21        ],
22        "seatrankids": null
23    },
24    "isarchived": false,
25    "createdts": "2014-09-26 15:24:36",
26    "lastupdatets": "2014-09-26 15:24:36"
27}