Which values can be send?
Permissions
- An API key is needed
- An X-CSRF-Token is needed
Fields
| Name | Description | Format | Possible values |
| Type | Type of content |
mandatory |
|
| Title | name of the event |
mandatory |
String |
| Subtitle | subtitle of the event |
|
String |
| Pictures | pictures of the event |
multiple values |
Array
|
| Event type | type of the event |
mandatory |
1 | Single or several dates 2 | Regularly recurring event 3 | Long or permanent event |
| Dates and timings List |
list of dates and timing of the event |
multiple valuesmandatory |
Dates and timings in format YYYY-MM-DD\THH:MM:SS |
|
Dates and timings |
Opening hours in case of a long or permanent event |
multiple values |
Day 1-7 (1 = Monday) Integer (ex. 20h00 => 2000) |
| Dates and timings Exeptionnally closed |
Dates on which the long or permanent event is closed |
multiple values |
Dates in format YYYY-MM-DD |
|
Venues |
list of venue IDs of the event |
mandatory
Specifications are available on the API reference venues page. |
Reference ID |
| No fix location | the event has no fix location |
|
Boolean |
| Prices | entrance fees for the event |
|
String, Float |
| Free of charge | no entrance fees for the event |
|
Boolean |
| Description DE | German event description |
|
HTML text |
| Description FR | French event description |
|
HTML text |
| Description EN | English event description |
|
HTML text |
| Description LU | Luxembourgish event description |
|
HTML text |
| Main category | event category |
Specifications are available on the API reference category page. mandatory |
Reference ID |
| Secondary category | event category |
Specifications are available on the API reference category page. |
Reference ID |
| Audience | event audience |
Specifications are available on the API reference audience page. mandatory |
Reference ID |
| Tags | keywords describing the event |
|
string |
| Contact email | Public contact or support email addresses |
|
email address |
| Contact phone number | Public contact or support phone number |
|
string |
| Websites | Websites of the event |
|
string (URL) |
| Online tickets | Links to an online ticket shop |
multiple values |
|
| Sales email address | Sales email address for the event |
|
email address |
| Sales phone number | Sales phone number for the event |
|
string |
| Sales start date | Sales start date for the tickets |
|
string |
| Sales organisation | Sales organisation for this event |
|
string |
| Sales website | Link for more information |
|
string (URL) |
| Organizer | Name of the organizer |
|
string |
| State | State of the event |
|
string
|
| User email address | Account e-mail address of the acting user |
mandatory |
Examples
Single or several dates (JSON)
{
"type":[
{
"target_id":"event"
}
],
"title":[
{
"value":"Example 1"
}
],
"field_subtitle":[
{
"value":"Event type 1"
}
],
"field_event_type":[
{
"value":"1"
}
],
"field_date":[
{
"value":"2019-10-01T08:00:00",
"end_value":"2019-10-01T17:00:00"
}
],
"field_type":[
{
"target_id":"6"
}
],
"field_state":[
{
"value":"scheduled"
}
],
"field_email_address":[
{
"value":"mail@example.com"
}
],
"pictures":[
{
"url":"https://eventsinluxembourg.lu/sites/default/files/LOGO_EVENTS_IN_LUXEMBOURG_RGB_1.png",
"copy":"Copyright by EIL",
"alt":"EIL-Logo"
}
],
"field_location":[
{
"target_id":"98525"
}
],
"field_description_en":[
{
"value":"An Event with a single date"
}
],
"field_categories":[
{
"target_id":"24347"
}
],
"field_prices":[
{
"first":"Children",
"second":0
},
{
"first":"Over 18",
"second":7.5
}
],
"field_websites":[
{
"uri":"http://example.com"
}
]
}
Regularly recurring event (JSON)
{
"type":[
{
"target_id":"event"
}
],
"title":[
{
"value":"Example 2"
}
],
"field_subtitle":[
{
"value":"Event type 2"
}
],
"field_event_type":[
{
"value":"2"
}
],
"field_date":[
{
"value":"2019-09-16T08:00:00",
"end_value":"2019-09-16T12:00:00",
"rrule":"RRULE:FREQ=WEEKLY;BYDAY=MO;UNTIL=20200914T000000Z"
}
],
"field_exceptionally_closed_on":[
{
"value": "2019-12-23"
}
],
"field_type":[
{
"target_id":"6"
}
],
"field_email_address":[
{
"value":"mail@example.com"
}
],
"field_location":[
{
"target_id":"98525"
}
],
"field_description_en":[
{
"value":"Every monday from 16/09/2019 until 14/09/2020 except on 23/12/2019"
}
],
"field_categories":[
{
"target_id":"24347"
}
]
}
Long or permanent event (JSON)
{
"type":[
{
"target_id":"event"
}
],
"title":[
{
"value":"Example 3"
}
],
"field_subtitle":[
{
"value":"Event type 3"
}
],
"field_event_type":[
{
"value":"3"
}
],
"field_date":[
{
"value":"2019-10-01T00:00:00",
"end_value":"2020-10-01T00:00:00"
}
],
"field_opening_hours":[
{
"day":1,
"starthours":1000,
"endhours":1200
},
{
"day":1,
"starthours":1400,
"endhours":1700
},
{
"day":3,
"starthours":800,
"endhours":1700
},
{
"day":5,
"starthours":800,
"endhours":1700
},
{
"day":6,
"starthours":1600,
"endhours":2000
}
],
"field_type":[
{
"target_id":"6"
}
],
"field_email_address":[
{
"value":"mail@example.com"
}
],
"field_location":[
{
"target_id":"98525"
}
],
"field_description_en":[
{
"value":"From 01/10/2019 until 01/10/2020<br>Mon: 10:00-12:00, 14:00-17:00<br> Wed: 08:00-17:00<br> Fri: 08:00-17:00<br>Sat: 16:00-20:00"
}
],
"field_categories":[
{
"target_id":"24347"
}
]
}