URL
GET https://{api-url}/api/v2/tenants/{tenantId}/{ticketType}/categories/{parentCategoryId}
Sample URLs
To retrieve all categories of an entity type, set {parentCategoryId} to 0:
https://{api-url}/api/v2/tenants/client_93/changeRequests/categories/SCAT-1373d851-27d9-4f68-bf9f-0d79177a7eb4
To retrieve subcategories of an entity type, provide the parent category ID with the subcategories that are nested:
https://{api-url}/api/v2/tenants/client_93/changeRequests/categories/0
These are the supported ticket types and sample URLs:
Ticket Type | Sample URL |
---|---|
Change request | https://{api-url}/api/v2/tenants/client_93/changeRequests/categories/0 |
Incident | https://{api-url}/api/v2/tenants/client_93/incidents/categories/0 |
Problem | https://{api-url}/api/v2/tenants/client_93/problems/categories/0 |
Service request | https://{api-url}/api/v2/tenants/client_93/serviceRequests/categories/0 |
Status code
200 OK
Sample response
[{
"id": 1,
"name": "Esc Level 1"
},
{
"id": 4,
"name": "Esc Level 2"
},
{
"id": 6,
"name": "Esc Level 3"
}
]