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