REST API - listCategories
The table summarizes the REST API - listCategories.
Request
| Format | GET <baseurl>/businessservice/categories/list |
| Query parameters |
|
Response
| JSON | Returns a JSON representation of the contents of a listCategoriesResponseelement. |
| XML | Returns the contents of a listCategoriesResponseelement (from the BusinessService schema) |
Example
| Request | GET <baseurl>/businessservice/categories/list |
| Response | {
"xml-fragment": {
"startPosition": 0,
"endPosition": 2,
"totalItems": 2,
"Category": [
{
"@name": "WelcomeUsersImplementSolution",
"ChildCategory": {
"@name": "ProcessPackage"
}
},
{
"@name": "RestSample3",
"ChildCategory": {
"@name": "Sample3"
}
}
]
}
}
|