get https://api.accelevents.com/rest/host/event//raffle/itemCategories
This API will help to get all the categories of Raffle. We need to pass an authentication token to authorize the user as path param and get all the categories of Raffle. We are also using sorting functionality to sort the category.
Here is the description of response attributes, which returns to the form of JSON.
Attribute | Description |
---|---|
itemCategories | It contains a List of Raffle category information categoryColor: Contains color of category, id: Contains the ID of the category which is a unique identifier, name: Contains the name of the category. position: Contains the position of the category |