Syntax
listEtickets( search=[] )
Returns a list of e-tickets.
Access rights
Read access or full access required.
Arguments
search (optional) – if specified, it will be searched for those criteria. The following fields are possible (All fields are optional):
- search[owner_id] – tickets of those vendors are found. Separate multiple IDs with commas. Standard is the own (numeric) User-ID. See getEticketSettings – there the values for eticket_owners.
- search[purchase_id]
- search[first_name]
- search[last_name]
- search[email]
- search[template_id] – ID of the e-ticket template. Separate multiple IDs with commas. See getEticketSettings – there the values for eticket_templates.
- search[location_id] – ID of the e-ticket location. Separate multiple IDs with commas. See getEticketSettings – there the values for eticket_locations.
- search[date] – the date, when the ticket should be valid. For example 2017-12-31 for Silvester 2017 or today for today's date.
Return data
Formdata, e.g.:
[etickets] => Array
(
[0]
=> Array
(
[download_url]
=> https://www.digistore24.com/eticket/file12345678901234567890.pdf
[duration]
=>
[date_id]
=> 1
[date]
=> 2014-09-25
[hint]
=> 17:00
[location_id]
=> 3
[template_id]
=> 3
[id]
=> 1328422185
[purchase_item_id]
=> 525759
[no]
=> 1
[count]
=> 1
[email]
=> michael.meier@some-domain.com
[first_name]
=> Michael
[last_name]
=> Meier
[salutation]
=> M
[title]
=> Prof. Dr.
[language]
=> de
[used_at]
=> 2014-09-2522:03:22
[is_blocked]
=> N
[note]
=>
[product_id]
=> 20
)
[1]
=> Array
(
[download_url]
=> https://www.digistore24.com/eticket/file12345678901234567890.pdf
[duration]
=>
[date_id]
=> 1
[date]
=> 2014-09-25
[hint]
=> 17:00
[location_id]
=> 3
[template_id]
=> 3
[id]
=> 1331973609
[purchase_item_id]
=> 525767
[no]
=> 1
[count]
=> 1
[email]
=> claudia.mueller@some-domain.com
[first_name]
=> Claudia
[last_name]
=> Müller
[salutation]
=> F
[title]
=>
[language]
=> de
[used_at]
=>
[is_blocked]
=> N
[note]
=>
[product_id]
=> 20
)