API Method /events/images/add

This function adds an image to an event.

Arguments

authentication
This method requires user authentication.
id string
The event ID.
image_id string
The image ID. (See /images/new to upload an image and retrieve the ID.)

Example Request

Here's an example URL:

http://api.eventful.com/rest/events/images/add?...&id=E0-001-000001237-8&image_id=I0-001-000437983-7

Output Parameters

Output from this function is an XML block with the following constructs:
status string
ok
messagestring
Image added successfully.

Example XML Response

<?xml version="1.0" encoding="UTF-8"?>
<response status="ok">
  <message>Image added successfully.</message>
</response>

Error Codes

This method may return these errors in an error document:

Authentication error
The specified user was not found or provided invalid credentials.
Missing parameter
The 'id' and 'image_id' parameters are mandatory.
Not found
There is no event (or image) with that identifier.