/createEventContributor
Create Event Contributor API Call
- Associates an existent contributor with an event and returns a unique id to identify the contributor in that event.
Production Endpoint: https://auctionconductor.com/API/createEventContributor
Test Endpoint: https://actestserver.com/API/createEventContributor
Accepted Data
Parameter | Req’d | Format | Default | Description |
contributor_id | Y | number | (none) | Contributor id |
event_id | Y | number | (none) | Event id to be associated to the contributor |
contributor_types | N | string array | (none) | Optional, primary type. All bidders and event attendees must be ‘Patron’ to obtain a bid#. If not found, a new type will be created |
affiliation_types | N | string array | (none) | Optional, secondary type. If not found, a new type will be created |
sms_opt | N | 10 chars | (none) | Opt-in setting for optional SMS text messaging alerts. Valid values: Opted-in, Opted-out or Not set |
anonymous | N | boolean | false | Contributor wishes to remain anonymous on var |
attendees | N | number | 1 | Number of people attached to this single Contributor record, that are attending (event specific) |
admission_paid | N | boolean | false | If all people attached to this contributor record have paid for admission (event specific) |
meal | N | 50 chars | (none) | Meal selection (event specific). If not found in meal table, new type will be created |
alternate_key | N | 50 chars | (none) | Alternate tacking ID obtained from your database (event specific) |
reg_notes | N | 1024 chars | (none) | Notes for check-in staff (event specific) |
Return Values
Parameter | Value | Description |
event_contributor_id | number | Unique id that identifies created record. This number can be used for later calls such as updateEventContributor, deleteEventContributor, etc. |
Sample Call
{
event_id: 2442,
contributor_id: 35669,
contributor_types: "Patron","Attending",
vip: "true",
sms_opt: "Opted-in"
}
Sample Response
{
"event_contributor_id": 66078
}