get https://api.accelevents.com/rest/event//virtualEventPortal/virtualeventsettings/language/
This API is used to get virtual event labels by language code with the specified event.
It will return data like the custom label, default label, expoId, label, label type, etc.
To call this API, the user has to pass eventUrl as a query param, languageCode, label type, and authentication key to authenticate the user.
Response
Here is the description of response attributes, which are returned in JSON format.
Attribute | Description |
---|---|
customLabel | Contains the name of the custom label created by the host. e.g. Lobby, Regular Sessions, Networking, Workshops, etc. |
defaultlabel | Contains the name of the default label. e.g. Lobby, Regular Sessions, Networking, Workshops, etc. |
expoId | This expo ID represents the unique ID of each event. |
label | Contains the name of the label. e.g. Lobby, Regular Sessions, Networking, Workshops, etc. |
labelType | Contains the type of label. e.g. VIRTUAL_EVENT_HUB, SESSION_LABEL, EVENT_LANDING_PAGE, EXPO, etc. |
Error Code
Here are the possible error messages, which return 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 | Cannot create URL |
4040200 | No event could be found |