Spongecell API Documentation: Reference - Responses

Responses

Lets you create responses for any event that you are authorized to view. There is one and only one response for an email address and event, so a second create call will update the previous response.

The response has to include whether the user is attending (YES, MAYBE, NO) as well as optionally the name and a comment.

Also allows the owner of the event to view all responses for the event.

Actions

The following actions are supported for this resource:

index GET /api/responses Return a list of the resources, returning a limited set of fields for each resource.
event_id INTEGER The id of the event
 
new GET /api/responses/new Construct a new resource (do NOT save it), returning the editable fields with default values.
 
create POST /api/responses Create a new resource from the data in the POST request.
event_id INTEGER The id of the event
email_address STRING Email address
response STRING The response: YES, MAYBE, NO
name STRING Name
comment STRING The comment text
number INTEGER The number responding (default is 1; must be > 0)
plus_n INTEGER The number responding, in addition (default is 0; must be >= 0)
opt_in BOOLEAN Whether to opt the email or sms address in to the list