# Get Event List

## getEventList

<mark style="color:blue;">`GET`</mark> `[PlatformAddress]/api/1.0/event?action=getEventList`

Get List of Events

#### Request Body

| Name                      | Type    | Description                                                                                                      |
| ------------------------- | ------- | ---------------------------------------------------------------------------------------------------------------- |
| perPage                   | integer | The number of events to get in a single api call                                                                 |
| start                     | integer | The starting result of the page. Note this is zero based (i.e. sending start=0 will start from the first result) |
| includeVenueDetails       | boolean | If the response should include venue details                                                                     |
| includeTicketDetails      | boolean | If the response should include ticket details                                                                    |
| includeInformationDetails | boolean | If the response should include the event information                                                             |
| includeHomepageContent    | boolean | If the response should include the homepage content of the website                                               |
| orderBy                   | string  | Sort Results: Support Parameter 'startDate'                                                                      |
| orderDir                  | string  | Sort Direction: Support Parameter 'asc' or 'desc'                                                                |

{% tabs %}
{% tab title="200 " %}

```
```

{% endtab %}
{% endtabs %}

## Additional [Filter ](https://developer.ivvy.com/getting-started/interpreting-the-response/filtering)Properties

| Property   | Description                                    | Type                                                                                       |
| ---------- | ---------------------------------------------- | ------------------------------------------------------------------------------------------ |
| afterDate  | Filter by start date                           | [iVvy Timestamp Format](https://developer.ivvy.com/development-reference/timestamp-format) |
| beforeDate | Filter by end date                             | [iVvy Timestamp Format](https://developer.ivvy.com/development-reference/timestamp-format) |
| status     | Filter by status Array of the following values | Must be an array                                                                           |

## Returns

A collection object with the following properties in the results.

| Property                      | Description                                                                                                                                                                                  |
| ----------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| id                            | The unique event identifier                                                                                                                                                                  |
| code                          | The code for the event                                                                                                                                                                       |
| eventType                     | [The type of event.](#event-types)                                                                                                                                                           |
| title                         | The title of the event                                                                                                                                                                       |
| domainName                    | The domain name of the event                                                                                                                                                                 |
| startDateTime                 | The start of the event, at UTC                                                                                                                                                               |
| endDateTime                   | The end of the event, at UTC                                                                                                                                                                 |
| numRegistered                 | The number of registrations                                                                                                                                                                  |
| currentStatus                 | [The current status of the event](#current-status-of-event)                                                                                                                                  |
| contactEmail                  | The contact email address on the event                                                                                                                                                       |
| websiteUrl                    | The URL for the event website                                                                                                                                                                |
| websiteTemplateBannerImageUrl | Banner that is displayed on the website                                                                                                                                                      |
| venue                         | [Details of the venue of the event (if the includeVenueDetails flag is set on the request)](#venue-details)                                                                                  |
| tickets                       | [The tickets of an event (if the includeTicketDetails flag is set on the request)](#event-ticket-details)                                                                                    |
| information                   | [Event website information (if the includeInformationDetails flag is set on the request) This is an array of objects with the information properties](#event-website-information-details).   |
| homepageContent               | Content of the website home page (if the includeHomepageContent flag is set on the request). Note this is the contents of the HTML that is entered in as the home page content of the event. |
| eventTags                     | [The tags of the event.](#event-tags)                                                                                                                                                        |
| modifiedDate                  | timestamp                                                                                                                                                                                    |

The result from this call will be a [collection](https://developer.ivvy.com/getting-started/interpreting-the-response/collections) of all the events the user has access to. This call also accepts the [pagination](https://developer.ivvy.com/getting-started/interpreting-the-response/pagination) and [filter](https://developer.ivvy.com/getting-started/interpreting-the-response/filtering) properties.

### Event types

| Type | Description          |
| ---- | -------------------- |
| 0    | Other                |
| 1    | Party                |
| 2    | Festival             |
| 3    | Golf Day             |
| 4    | Wedding              |
| 5    | Meeting              |
| 6    | Seminar              |
| 7    | Conference           |
| 8    | Exhibition           |
| 9    | Roadshow             |
| 10   | Simple               |
| 11   | Party (21st / 18th)  |
| 12   | Record Event Details |

The result from this call will be a collection of all the events the user has access to. This call also accepts the pagination and filter properties.

### Current status of event

| Code | Description |
| ---- | ----------- |
| 0    | Draft       |
| 1    | Closed      |
| 3    | Launched    |

### Venue details

| Property    | Description                       |
| ----------- | --------------------------------- |
| name        | The venue name                    |
| description | The description of the venue      |
| address     | The address of the venue          |
| imageUrl    | The URL to the image of the venue |

### Event ticket details

| Property           | Description                                                                                                                            |
| ------------------ | -------------------------------------------------------------------------------------------------------------------------------------- |
| id                 | The unique identifier for the ticket                                                                                                   |
| title              | Title of the ticket                                                                                                                    |
| capacity           | Capacity of the ticket                                                                                                                 |
| description        | Description of the ticket                                                                                                              |
| amount             | Amount of the ticket                                                                                                                   |
| isTaxFree          | Amount of the ticket is tax free                                                                                                       |
| subscriptionGroups | [Subscription groups assigned to the ticket This an array of objects with subscription group properties](#subscription-group-details). |

### Subscription group details

| Property  | Description                         |
| --------- | ----------------------------------- |
| id        | The subscription group identifier   |
| groupName | The name for the group              |
| tagColour | The designated colour for the group |

### Event website information details

| Property    | Description                                |
| ----------- | ------------------------------------------ |
| description | Description of the information             |
| information | Content of the information                 |
| fileUrl     | Attached file url of event information     |
| sortOrder   | The order in which to sort the information |

### Event tags

| Property | Description                             |
| -------- | --------------------------------------- |
| id       | The unique identifier for the event tag |
| name     | The name of the event tag               |
