Back to top

Venue

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
{
  ...
  "type": [ {
    "target_id": "location"
  } ],
  ...
}
mandatory
 
Title name of the venue
{
  ...
  "title": [ {
    "value": "Name of Venue"
  } ],
  ...
}
mandatory
String
House Number Address: house number
{
  ...
  "field_house_numver": [ {
    "value": "1A"
  } ],
  ...
}
String
Street Address: street name
{
  ...
  "field_street": [ {
    "value": "rue ..."
  } ],
  ...
}
mandatory
String
Postcode Address: postcode
{
  ...
  "field_town":[ {
    "target_id": [ID]
  } ],
  ...
}

Specifications are available on the API reference postcodes page.

mandatory

Reference ID

Main category event category
{
  ...
  "field_cat1":[ {
    "target_id": [ID]
  } ],
  ...
}

Specifications are available on the API reference category page.

mandatory

Reference ID

Secondary category event category
{
  ...
  "field_cat2":[ {
    "target_id": [ID]
  } ],
  ...
}

Specifications are available on the API reference category page.

Reference ID
Pictures pictures of the event
{
  ...
  "pictures": [ {
    "url": "http://example.com/image.jpg",
    "copy": "Copyright information",
    "alt": "Text for screenreaders"
  } ],
  ...
}
multiple values

Array

  • Url (mandatory)
  • String
  • String
Contact phone number Public contact or support phone number
{
  ...
  "field_contact_phonenumber":[ {
    "first": "[PHONE]",
    "second": null
  } ],
  ...
}
string
Contact email Public contact or support email addresses
{
  ...
  "field_contact_email":[ {
    "first": "[EMAIL]",
    "second": null
  } ],
  ...
}
email address
Websites Websites of the event
{
  ...
  "field_websites":[ {
    "uri": "[URL]",
    "title": "[LINKTITLE]"
  } ],
  ...
}
string (URL)
Description DE German event description
{
  ...
  "field_description_de":[ {
    "value": "[HTML]"
  } ],
  ...
}
HTML text
Description FR French event description
{
  ...
  "field_description_fr": [ {
    "value": "[HTML]"
  } ],
  ...
}
HTML text
Description EN English event description
{
  ...
  "field_description_en":[ {
    "value": "[HTML]"
  } ],
  ...
}
HTML text
Description LU Luxembourgish event description
{
  ...
  "field_description_lu":[ {
    "value": "[HTML]"
  } ],
  ...
}
HTML text

 

JSON Example

{ 
    "type":[ 
        { 
            "target_id":"location"
        }
    ],
    "title":[ 
        { 
            "value":"Venue title"
        }
    ],
    "field_street":[ 
        { 
            "value":"Street name"
        }
    ],
    "field_house_numver":[ 
        { 
            "value":"House number"
        }
    ],
    "field_town":[ 
        { 
            "target_id":"38447"
        }
    ],
    "field_cat1":[ 
        { 
            "target_id":"43653"
        }
    ]
}