Last Update: 2024-03-21

Get event persons (V6)

Request:

<geteventpersons 
    customerid=""
    id=""
    item-id=""
    ticket-id=""
    guestlist-id=""
>
    <status>...</status>
    <from>...</from>
    <till>...</till>
    <fields>
        <field>email</field>
        <field>firstname</field>
        <field type="formitem">12345</field>
    </fields>
</geteventpersons>
Description of XML-Tags:
Element Format Mandatory Description
geteventpersons
↳ @customeridintnoCustomerID of customer used for request. Only usable with admin customer privileges.
↳ @id int yes ID of event
↳ @item-id int no ID of program item
↳ @ticket-id int no ID of ticket
↳ @guestlist-id int no ID of guestlist
↳ status int (comma separated) no 0 ... None / Not responded
1 ... Booked / Confirmed
2 ... Waitinglist
3 ... Refused / Cancelled
4 ... Participated
5 ... Accreditation
6 ... Booked for other person
Default = 1,2
↳ from YYYY-mm-dd HH:ii:ss no List all persons with last reaction from this datetime on
↳ till YYYY-mm-dd HH:ii:ss no List all persons with last reaction till this datetime
↳ fields no Desired fields in output
If not specified, all fields will be exported
  ↳ field no type = address ➝ name of address field
type = formitem ➝ ID of form-element of site
    ↳ @type no address ... Address field
formitem ... form-element of site
Default = address

Response:

<?xml version="1.0"?>
<response>
    <code>2000</code>
    <description><![CDATA[OK]]></description>
    <data>
        <person id="...">
            <datetime>...</datetime>
            <code>...</code>
            <status>...</status>
            <address id="...">
                <email><![CDATA[...]]></email>
                ...
            </address>
            <formitems>
                <formitem id="..."><![CDATA[...]]></formitem>
                ...
            </formitems>
            <guestlist id="...">
                <title><![CDATA[...]]></title>
            </guestlist>
            <site id="...">
                <title><![CDATA[...]]></title>
            </site>
            <ticket id="...">
                <title><![CDATA[...]]></title>
                <amount>...</amount>
            </ticket>            
        </person>
        ...
    </data>
</response>
Description of XML-Tags:
Element Format Description
data List of persons
↳ person Person
  ↳ @id int ID of person
  ↳ datetime YYYY-mm-dd HH:ii:ss Last reaction or change
  ↳ code varchar Value of QR-Code (only for eyepin Gate)
  ↳ status int 0 ... None / Not responded
1 ... Booked / Confirmed
2 ... Waitinglist
3 ... Refused / Cancelled
4 ... Participated
5 ... Accreditation
6 ... Booked for other person
  ↳ address All address related fields
    ↳ @id int ID of address
  ↳ formitems All form-element related fields
    ↳ formitem text Value of form-element field
      ↳ @id int ID of form element
  ↳ guestlist Guestlist
    ↳ @id int ID of guestlist
    ↳ title varchar Title of guestlist
  ↳ site Site
    ↳ @id int ID of site
    ↳ title varchar Title of site
  ↳ ticket Ticket
    ↳ @id int ID of ticket
    ↳ title varchar Title of ticket
    ↳ amount int Amount of tickets (always 1, except for group-tickets)
Für Rückfragen stehen wir Ihnen jederzeit gerne unter support@eyepin.com zur Verfügung.