This API Used to show the toggle values associated with the specified event and registration Request Type. when "How to send mail? " Pop not update YES(Send Automatically) or NO(Send Manually) Response till this API gets a response like NOT_SELECTED_YES, NOT_SELECTED_NO.
To call this API, the user has to pass a query param with API URL, registration request type of user, and authentication key to authenticate the user.
RegistrationRequestType - registration request types like ATTENDEE, SPEAKER, and EXHIBITOR.
eventUrl- The Event URL is a unique identifier for your event. E.g., https://www.accelevents.com/events/demo. Here, "demo" is the event URL.
It will return data Enum specified values like NOT_SELECTED_NO, NOT_SELECTED_YES, YES, NO.
Authentication required - ✅
Role wise accessibility
Super Admin - ✅
Event Admin - ✅
Staff - ❌
Attendee - ❌
Exhibitor - ❌
Speaker - ❌
Display - ❌
Portal - ❌
Host - ✅
Here is the description of response attributes, which are returned in JSON format.
It will return a success message if API is executed successfully.
|NOT_SELECTED_NO||It shows default when the host does not enable the toggle or does not respond from the Pop value.|
|NOT_SELECTED_YES||It shows when the host enables toggle but does not respond from the pop value.|
|YES||It shows when the host sends their response from the pop as AutoSend Mail.|
|NO||It shows when the host sends their response from the pop as Manually send Mail.|
Here are the possible error messages that return if any condition fails or required data is missing for processing.
|Error code||Error Description|
|403||Not Event Host|
|404||No Event Found|