Base URL
Get All Categories
Retrieve a list of all tour categories in the platform.
Response
Array of tour category objects
Example
Get Category by ID
Retrieve details of a specific tour category by its ID.
Path Parameters
The unique identifier of the category
Response
Returns a single category object with the same structure as described in Get All Categories.Example
Create Category
Create a new tour category in the system.
Request Body
Category name
Response
Returns the created category object including the generatedcategoryId.
Example
Update Category
Update an existing tour category by its ID.
Path Parameters
The unique identifier of the category to update
Request Body
Updated category name
Response
Returns the updated category object.Example
Delete Category
Delete a tour category by its ID.
Path Parameters
The unique identifier of the category to delete