Site resource
Get site categories
OVERVIEW
API method to obtain site categories
GET /api/2/sitecategories
Request
No request body required.
Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<categories>
<category>
<siteCategoryID>3</siteCategoryID>
<siteCategoryName>Collaborate 4.0</siteCategoryName>
</category>
<category>
<siteCategoryID>5</siteCategoryID>
<siteCategoryName>API related sites</siteCategoryName>
</category>
</categories>
Code | Meaning |
---|---|
400 | Problem with parsing XML or JSON object (Bad Request) |
401 | Unauthorised |
403 | Validation failed/ Forbidden |
405 | Method not allowed (calling API with the incorrect method call) |
500 | Internal error occurred while obtaining site templates |
Last Updated: Nov 08,2024
Comments
0 Comments