This function handles listing event categories. It returns the results as a JSON file.
Example Request 1 - List all event categories
http://www.miamibeachapi.com/rest/a.pi/event-categories/list
Output Parameters
Output from this API will be in JSON format with the following attributes:
- event categoriesarray
-
An array of page_items events. Each event entry has the following structure:
- datatable_category_idinteger
- The unique ID for this event category.
- parent_category_idinteger
- The unique ID for the parent of this event category.
- name string
- The name of the event category.
- title string
- The title of the event category. (optional)
- description string
- The description of the event category. (optional)
- meta_keyword string
- The keywords of the event category. (optional)
- rankinteger
- The desired rank of the event category. (optional)
- date_added integer
- A UNIX timestamp when the category was created.
- date_modied string
- A UNIX timestamp when the category was modified.