group.addEventTo [HTTP POST]
Try to add an event to a group. If the group is moderated, the request may be queued for administrator review instead of processed immediately.This method requires authentication.
Arguments
api_key (Required)
Your API application key. If you don't have one,
create one.
token (Required)
An authentication token. (
What's this?)
group_id (Required)
The id of the group.
event_id (Required)
The id of the event to send.
Example Response (returns the details for the group you added the event to)
<?xml version="1.0" encoding="UTF-8"?>
<rsp stat="ok" version="1.0">
<group id="101" name="blasthaus fans" description="people in and around san
francisco who go to blasthaus events. http://www.blasthaus.com/"
event_moderation="1" member_moderation="1" is_private="0" timestamp="2005-09-02
02:15:11" owner_user_id="2078" commercial_account_id="0" topic_count="0"
member_count="15"
/>
</rsp>
Success Codes (sent in HTTP Response Header)
202 Accepted:
- This group is moderated, and your request to add this event has been sent to the group moderator for approval.
Error Codes (sent in HTTP Response Header)
403 Not Authorized:
- Missing valid authentication parameters - Please pass an authentication token to the method.
- Invalid authentication parameters - either that token was not found, or it may be deactivated. Please contact us for support.
409 Conflict:
- Missing valid api_key - Please create an API key using the above link.
- Your api_key is inactive or not found - Please contact us for support.
- Invalid user_id parameter.
- Invalid group_id parameter.
- Invalid event_id parameter.
- This event could not be found, or is private - you may not have access to send this event.
- This private event can only be sent to the group by the event's owner.
- You are already a member of this group.
- You have been banned from this group.
- That event was already added to the group.
- You are not a member of this group.