GET api/teams/ArticleCategory/Get?flatList={flatList} Gets all Knowledge Article Categories.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
flatList | boolean |
Default value is False |
Body Parameters
None.Response Information
CategoryTreeObject, which contains a single property: an array of CategoryNodeObject.
Resource Description
CategoryTreeObjectName | Description | Type | Additional information |
---|---|---|---|
Categories | Collection of CategoryNodeObject |
None. |
Response Formats
application/json, text/json
Sample:
{ "Categories": [ { "label": "sample string 1", "nodeId": "b9f4a467-1ddc-4413-ad02-5ccbc2b23b40", "children": [] }, { "label": "sample string 1", "nodeId": "b9f4a467-1ddc-4413-ad02-5ccbc2b23b40", "children": [] } ] }
application/xml, text/xml
Sample:
<CategoryTreeObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cireson.ServiceManager.WebConsole.ViewModels"> <Categories> <CategoryNodeObject> <children /> <label>sample string 1</label> <nodeId>b9f4a467-1ddc-4413-ad02-5ccbc2b23b40</nodeId> </CategoryNodeObject> <CategoryNodeObject> <children /> <label>sample string 1</label> <nodeId>b9f4a467-1ddc-4413-ad02-5ccbc2b23b40</nodeId> </CategoryNodeObject> </Categories> </CategoryTreeObject>