Skip to main content
Events Calendar

All Categories API

Returns a list of all categories, not just main categories .

Location

https://calendar.byu.edu/api/AllCategories

Parameters

No parameters

Return Values

NameDescriptionCategoryId

Name

ParentCategoryIdNot all categories have a parent category. Internal categories will usually have a parent category. If a category has no parent category, this value will not be returned at all.FullUrl

CategoryTypeId

CategoryTypeThree category types: main categories, tags, and internal categories (e.g., departments, groups). Internal categories are used when a department wants to contribute to its group of events.

Return Format

XML is returned by default, but the format can be specified explicitly in the URL.

XML Example

https://calendar.byu.edu/api/AllCategories.xml

All three categories

An internal category with a parent category

JSON Example

https://calendar.byu.edu/api/AllCategories.json

Example with different category types and a parent category

Changes

This API is similar to Categories API. It is a new API that includes values not included in Categories API. This API exists to get all categories, because Categories API previously returned all categories, but now it returns only main categories.

New Values

FullUrl

‹ Categories API up Academic Categories API ›

CONTACT

University Communications801-422-4511

web-team@byu.edu

RESOURCES

About BYU BYU Photo Campus Maps Directions to BYU

RELATED LINKS

BYU Arts BYU Athletics BYU News BYUSA BYUtv Upcoming Church Activities

CONNECT

Facebook Instagram Twitter YouTube

Integrating with the BYU Calendar How to Use the Calendar Widget Calendar Widget Demo Calendar API Documentation