Skip to main content

GET Category

URL: http://{{server-url}}/api/v1/request/category

You can fetch the list of categories existing in the application by calling the above endpoint.

You need the following key-values:

Header

KeyDescription
AuthorizationBearer {access token obtained after authorization or API Key}

Example (Request & Response)

Request

curl --location 'http://172.16.12.232/api/v1/request/category' \
--header 'Authorization: Apikey KPVhkfL9w7%2FLMn3k%40VPQNOa8kNQFwtkWWnsx5ogGGoujb1G9BKJh9UwYSP0IKdF1BF8Q9Ug%3D%3D'

Response

{
"objectList
":[{
"node":
{"id":1,
"name":"Software"
},
"childrens":null},
{"node":{"id":2,"name":"Hardware"},"childrens":null},
{"node":{"id":3,"name":"Network"},"childrens":null},
{"node":{"id":4,"name":"HR"},"childrens":null},
{"node":{"id":5,"name":"Other"},"childrens":null}],
"totalCount":5
}