MSC REST API - Documentation
GET v1/TourCategories?sub_cat_id={sub_cat_id}&include_sub_cats={include_sub_cats}&include_videos={include_videos}&include_links={include_links}
Get categories by subcategory
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| sub_cat_id | int - The id of the subcategory |
Define this parameter in the request URI. |
| include_sub_cats | bool - Whether or not to include subcategories |
Define this parameter in the request URI. |
| include_videos | bool - Whether or not to include videos |
Define this parameter in the request URI. |
| include_links | Bool - whether or not to include links |
Define this parameter in the request URI. |
Response Information
Returns: List(Category) - All categories that are related to the subcategory
Copyright © Morrisville State College