All Category Counts API

This API returns a list of category id's with their corresponding names and the number of events for the time period specified, which cost equal to or less than the price specified. This list includes ALL categories.




The starting date of the time period (in the format yyyy-mm-dd).
The ending date of the time period (in the format yyyy-mm-dd).
(Optional)The max price. Free events and events without tickets will always be included.

Return Value

XML Example

By default, XML is returned:[min][date]=2017-04-01&event[max][date]=2017-04-30&price=20

You can also specify .xml in the url:[min][date]=2017-04-01&event[max][date]=2017-04-30&price=20

XML example

JSON Example[min][date]=2017-04-01&event[max][date]=2017-04-30&price=20

JSON example

Changes to this API

The CategoryCounts API used to include all categories. Now, the CategoryCounts API includes only the main categories. This API lists all categories - main categories, department categories, and tags, as well as a 'Featured on the Homepage' tag. 

 Old Value
 New Value
The wrapper of each category was 'CategoryCountViewModel'.
The wrapper of each individual category is now 'item'.

New Values

New Value
The name of the category.
The id of the category type.
The name of the category type. This could be 'category', 'tags', 'internal category' (or department), or 'BYU Homepage'.