IDOL Server Operations > Categorization > Create a Hierarchical Category Structure > Create Categories from Scratch

Create Categories from Scratch
You can create categories from scratch.
To create categories from scratch
1.
Create the category using the CategoryCreate action. For example:
http://IDOLhost:port/action=CategoryCreate&Name=Botanics&Category=1
From this action, IDOL server creates the Botanics category with an ID of 1. The new category is a child of the root category, which has the ID 0. Categories that you create from scratch are by default stored as child categories of the root category. However, you can specify an alternative parent category when you create a category. The Category parameter is optional. If you do not specify an ID, the system automatically generates a random ID.
2.
IDOL server returns an ID for the category it creates. You can use this ID to identify the category, for example, to add a child category to it:
http://IDOLhost:port/action=CategoryCreate&name=Perennials&parent=1
In this example, IDOL server creates the Perennials category. The new category is a child of the category with the ID 1 (in this case, the Botanics category).
3.
4.
Related Topics 
*
*
*