Make a request »

EventService.RegisterAttendee

Registers 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}/register
URL parameters:
eventIdStringEvent ID
sessionIdStringEvent session ID

Body parameters

Body parameters
registerAttendee
Attendee and their guests (if any) data required for registration 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. Only used when "Allow registration of additional guests" and "Request guest details in form" are both enabled.
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 event registration result, status code and status message

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

RegistrationSucceeded Boolean When true, registration completed successfully
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
ShouldRedirect Boolean When true, browser should redirect to URL from RedirectUrl
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...
RedirectUrl String After submitting, the registration form should redirect to this URL if ShouldRedirect is true
DebugInfo
List of debug messages representing issues and errors that occur during registration 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