Due to PCI compliant reasons we're going to turn off support for TLS v1.0 on all of our servers.
Please check/update you API implementations to support TLS v1.2 until 29.06.2018

Difference between revisions of "REST API Events"

From XING Events Developer Documentation
Jump to: navigation, search
Line 211: Line 211:
| '''Errors'''
| '''Errors'''
| <tt>[[REST_API_ErrorCodes#Identifier_exists|com.amiando.Event.IdentifierExists]]</tt><br>See [[REST API ErrorCodes#General_Errorcodes|General Errorcodes]].
| <tt>[[REST_API_ErrorCodes#Identifier_exists|com.amiando.Event.IdentifierExists]]</tt><br><tt>[[REST_API_ErrorCodes#Invalid_visibility|com.amiando.api.rest.InvalidVisibility]]</tt><br>See [[REST API ErrorCodes#General_Errorcodes|General Errorcodes]].

Revision as of 09:49, 19 July 2010

Object type: event

This page contains information about all properties and methods regarding events.


Attributes: R - accessible in read requests W - accessible in write (update) requests C - accessible in create requests

Attributes Description
The internal id of this object.
The title of the event.
country Country RWC
The country where the event will be held. This also determines the initial currency of the ticketshop. Required
The description of the event.
The start date of the event. Required
selectedEndDate Date RWC
The end date of the event.
hostId Integer R-C
The internal id of the user, who will be the host of the event. Required
timezone Timezone RWC
The timezone of the event.
language Language RWC
The language of the event.
identifier String RWC
The public identifier of the event. The event page will be accessible at www.amiando.com/<identifier>.html.
organisatorDisplayName String RWC
The visible name of the organisator of the event. The name of the host (see hostId) will be used, if this property is empty.
partnerEventUrl String RWC
The url of the event on the partner page.
visibility String RWC
invitationOnly, private or public. Default value is public.
publishSearchEngines Boolean RWC
Should this event be visible to search engines?
searchEngineTags String RWC
Keywords if publishSearchEngines is true.
location String RWC
The location of the event.
locationDescription String RWC
The detailed description of the location of the event.
longitude Double RWC
The longitude of the event.
latitude Double RWC
The latitude of the event.
street String RWC
The street of the event.
street2 String RWC
The street (2. field) of the event.
zipCode String RWC
The zip code of the location of the event.
city String RWC
The city where the event will be held.
state String RWC
The state where the event will be held.
creationTime Date R--
The timestamp, when the event was created.
lastModified Date R--
The timestamp, when the event was last modified.


Objects inside an event object can be accessed through URLs like /api/event/<id>/<object>. For example /api/event/345543/ticketShop.

ticketShop Detailed information about the ticketshop of the event.



Call GET /api/event/exists
Parameters identifier — public identifier of the event to check
Description This request will check if the identifier with the unique <identifier> already exists. If it does, this identifier can't be used for creating new events.
Response {"exists":true,"success":true}


Call POST /api/event/create
Parameters All properties marked with C. Required are hostId and sourceCountry.
Description This request will create an event and will return the internal id. The internal id can be used for read or update requests.
Response {"id":<internal id>,"success":true}.
Errors com.amiando.Event.IdentifierExists
See General Errorcodes.


Call POST /api/event/<id>
Parameters All properties marked with W.
Description This request will update the properties of the event with the internal id <id>. Only properties which are provided as parameters will be updated.
Response {"success":true}.
Errors com.amiando.Event.IdentifierExists
See General Errorcodes.


Call GET /api/event/<id>
Description This request will return the event object with the specified internal id. The response contains all properties marked with R.
Response {"event":{"title": ...}, "success":true}.
Errors See General Errorcodes.