TaxonomyTreeServicesCreateCategoryStructure Method |
Namespace: IngeniuxCMService
public XHRServiceResponseGeneric<CategoryCreateInfo> CreateCategoryStructure( CategoryCreateInfo tree )
The tree branch of categories to create
Sample JSON input
{
"ExternalId": "a2sdfi1940j38d6f",
"Name": "Education",
"Description": "",
"Children": [
{
"ExternalId": "03k48dkkdfiu23k",
"Name": "Science",
"Description": "",
"Children": [
{
"ExternalId": "23diuiukodi8459",
"Name": "Physics",
"Description": "",
"Children": []
}
]
},
{
"ExternalId": "ue83jkd4kded87dfh",
"Name": "Arts",
"Description": "",
"Children": []
}
]
}The information of root categories created
Sample JSON return
{
"code": 0,
"error": null,
"message": {
"objectId": "tta__CategoryNodes\/67",
"widgetId": "tta__CategoryNodes\/67",
"isFolder": false,
"props": {
"associatedPages": null,
"creationLocale": "en-us",
"depth": 1,
"description": "",
"everyoneName": "Everyone",
"externalId": "",
"id": "CategoryNodes\/67",
"idPrefix": "tta",
"originalDescription": "",
"originalTitle": "Monera",
"originalTypeName": "Kingdom",
"path": "Monera",
"permissions": [{
"name": "Everyone",
"id": "0",
"accessLevel": 2
}],
"permissionsInherited": true,
"synonyms": [],
"translated": true,
"typeName": "Kingdom",
"visibility": 1
},
"title": "Monera"
}
}