This section describes the operations related to category management (List of categories).
List of Categories
Petition Details
- URI: api/v8.6/project/{id}/{itemType}/category/list
- Type: GET
-
Required headings:
- Content-Type: application/json
- Authorization: TOKEN
Parameters
Name | Data type | Obligatory | Description |
---|---|---|---|
Id | Number | Yes | Project ID. |
itemType | Number | Yes | Case Type ID |
Body of the petition
N/A
Answer
The service will return a Json with the following information:
Example:
[
{
"Enabled": true,
"Id": 2478,
"IsParent": true,
"Name": "Agente Linux"
},
{
"Enabled": true,
"Id": 2359,
"IsParent": false,
"Name": "Aranda 360"
},…
]
Error messages
Code | HTTP status | Error Message |
---|---|---|
400 | BadRequest | InvalidProjectId |
400 | BadRequest | nvalidItemType |
500 | InternalServerError | FailureGetUsers |