Get service desk list of categories

This endpoint is used to retrieve the list of categories for an entity type.

Leave Feedback

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 TypeSample URL
Change requesthttps://{api-url}/api/v2/tenants/client_93/changeRequests/categories/0
Incidenthttps://{api-url}/api/v2/tenants/client_93/incidents/categories/0
Problemhttps://{api-url}/api/v2/tenants/client_93/problems/categories/0
Service requesthttps://{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"
	}
]