API Method /events/comments/new
Adds a new comment to an event. See http://eventful.com/events/E0-001-000278174-6 for an example interface.
Arguments
- authentication
- This method requires user authentication.
- id string
- The ID of the event to which this comment is being added.
- comment string
- The body of the comment message.
Example Request
Here's an example request URL:
http://api.evdb.com/rest/events/comments/new?...&id=E0-001-000278174-6&comment=That+sounds+like+fun!
Output Parameters
Output from this function is an XML block with the following constructs:
- status string
- ok
- messagestring
- Comment added successfully.
Example XML Response
<?xml version="1.0" encoding="UTF-8"?>
<response status="ok">
<message>Comment 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
- A mandatory field was not provided.