Make a request »

EventService.AddAttendee

Adds an attendee and their guests (if any) to a specified event session. Event ID and session ID are always required. Remaining data is matched and validated according to the rules specified by the result of GetControls API method. "Make Test Call" does not support non-anonymous guest registration. Works with Event 3.0 or newer (Direct method) See code examples


URL Parameters

Http verb: POST
URI: Full url: http://se.api.anpdm.com/event/v2/{eventId}/session/{sessionId}/attendee
URL parameters:
eventIdStringEvent ID
sessionIdStringEvent session ID

Body parameters

Body parameters
addAttendee
Attendee and their guests (if any) data required for adding to event

Attendee
Information about the main attendee

ControlValues List
<RegistrationFormControlValue>
Names and values for event registration form controls as returned by the GetControls API method. Names must match the Name properties returned by the GetControls API method (except when Type is phonenumber). When Type is phonenumber, this method expects two Controls: one with the name found under CountryCode.Name and one under PhoneNumber.Name with respective values. Before submitted, the values must be validated according to the settings returned by the GetControls API method. Note that it can only contain one value, and for multiple values needs to be written like "value1,value2,value3".
Guests List
<RegistrationFormAttendee>
Information about attendee non-anonymous guests
Status String Attendee status on session. Possible values: Registered, WaitingList, CheckedIn, Cancel
NumberOfAnonymousGuests Int32 The number of attendee anonymous quests. Only used when "Allow registration of additional guests" is enabled and "Request guest details in form" is disabled
DebugMode Nullable<Boolean> When true, DebugInfo property will get populated with additional information related to issues and errors that occur during registration process. This is for testing purposes only, production code should not use it. (Optional)
Body Example

Response

Body parameters
returns
Response object that includes adding attendee result, status code and status message

Code Int32 The response Code.
Message String The response Message.
Result
The response Result.

Succeeded Boolean When true, add attendee completed successfully
RecipientId Int64 Recipient ID
ShouldDisplayMessages Boolean When true, messages from Messages collection should be displayed on the registration form
ShouldDisplayInputValidationErrors Boolean When true, messages from InputValidationErrors should be displayed below the corresponding registration form controls
Messages
List of general messages that should be displayed on the registration form

String String Lorem ipsum dolor sit amet, consectetur adipiscing elit...
InputValidationErrors
List of validation errors that should be displayed below the corresponding registration form controls

InputValidationError
Validation error

Name String Name of registration form control. Corresponds to names from the result of GetControls API method.
Messages
List of messages related to a particular registration form control

String String Lorem ipsum dolor sit amet, consectetur adipiscing elit...
DebugInfo
List of debug messages representing issues and errors that occur during adding process. This is for testing purposes only. It gets populated only when DebugMode property is set to true.

String String Lorem ipsum dolor sit amet, consectetur adipiscing elit...
Body Example


Help

Code examples