This API is used to get all categories list associated with the specified event.
This API used at the host side. Event admins and super admins can access this API. It will return data like ID, name, position, and categoryColor.
To call this API, the user has to pass an authentication key to authenticate the user.
Here is the description of response attributes, which returns in the form of JSON.
|id||Returns the IDs of categories.|
|name||Returns the names of categories.|
|position||Returns the positions of categories.|
|categoryColor||Returns the colors of categories.|
Here are the possible error messages, which return if any condition fails 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.|
|404||The resource you were trying to reach is not found.|