Add a new event to the database. This method requires authentication.
api_key (Required)
Your API application key. If you don't have one,
create one.
token (Required)
An authentication token. (
What's this?)
name (Required)
The name of the event.
venue_id (Numeric, Required)
The venue_id of the event. To get a venue_id, try the venue.* series of functions.
category_id (Numeric, Required)
The category_id of the event. To get a category_id, try the category.* series of functions.
start_date (YYYY-MM-DD, Required)
The start date of the event, formatted as YYYY-MM-DD.
end_date (YYYY-MM-DD, Optional)
The end date of the event, formatted as YYYY-MM-DD.
start_time (HH:MM:SS, Optional)
The start time of the event, formatted as HH:MM:SS.
end_time (HH:MM:SS, Optional)
The end time of the event, formatted as HH:MM:SS.
description (Optional)
A textual description of the event.
url (Optional)
The website URL for the event.
personal (1 or 0, Optional, Defaults to 0)
A flag indicating whether the event should be public (0), or shown only to your friends (1).
selfpromotion (1 or 0, Optional, Defaults to 0)
A flag indicating whether the event should be marked as a normal event (0), or as a self-promotional event (1).
<?xml version="1.0" encoding="UTF-8"?>
<rsp stat="ok" version="1.0">
<event id="1" name="Tori Amos, Ben Folds" tags=""
description="The "Lottapianos" Tour. Ben Folds is opening, and will
play a one hour set."
start_date="2003-08-01"
end_date="0000-00-00"
start_time="19:00:00" end_time=""
personal="0" selfpromotion="0"
metro_id="1" venue_id="1"
user_id="1" category_id="1"
date_posted="2003-06-07" />
</rsp>