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.
|event[min][date]||The starting date of the time period (in the format yyyy-mm-dd).|
|event[max][date]||The ending date of the time period (in the format yyyy-mm-dd).|
|price||(Optional) The max price. Provide an integer or decimal. Free events and events without tickets will always be included.|
By default, XML is returned:
You can also specify .xml in the url:
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'.|
|CategoryName||The name of the category.|
|CategoryTypeId||The id of the category type.|
|CategoryType||The name of the category type. This could be 'category', 'tags', 'internal category' (or department), or 'BYU Homepage'.|