This API is used to get the virtual access user role for the specified event.
This API is accessible by super admin, admin, and user. It will return data like admin, staff, exhibitor, speaker, attendee, isDisclaimerChecked, and a list of roles.
To call this API, a user has to pass eventUrl as a query param with an authentication key to authenticate the user.
Here is the description of response attributes, which returns in the form of JSON.
|admin||If return is "true" user is an admin.|
|attendee||If return is "true" user is an attendee.|
|disclaimerChecked||If return is "true" user confirmed the checkout disclaimer.|
|exhibitor||If return is "true" user is an exhibitor.|
|roles||It will return different types of roles like admin, staff, attendee, whitelabeladmin, leadretriever, exhibitoradmin and speaker.|
|speaker||If return is "true" user is an speaker.|
|staff||If return is "true" user is a staff member.|
Here are the possible error messages, which get returned if any condition gets failed or required data is missing for processing.
|Error Code||Error Description|
|400||The request could not be understood by the server due to malformed syntax.|
|401||You are not authorized to view the resource.|
|403||Accessing the resource you were trying to reach is forbidden.|
|404||The resource you were trying to reach is not found.|
|40600013||Cant create URL|
|4040200||No Event could be found|
|4068012||You have not purchased Virtual Event Tickets. Please, contact the organizers for more information|
|4060454||Please activate your event to access the portal.|
|4060081||The maximum number of attendees for this event has been reached. Please contact the event organizer.|
|4068917||All capacity for free registrations has been redeemed. You can purchase a pass to access the event!|