Skip to main content
Version: 8.5.X

GET Request Count

URL: {server-url}/api/analytics/v1/aggregation/bymodule

You can get the total count of the tickets based on the columns.

You need the following key-values:

Header

KeyDescription
AuthorizationBearer {access token obtained after authorization}. You can also get it from the ServiceOps API Integration.

Body

KeyDescription
modulerequest
columnColumn name. The possible values are: status, type, priority, category, department, source, location, urgency, impact

Example (Request & Response)

Request

curl --location --request GET 'http://172.16.11.148/api/analytics/v1/aggregation/bymodule' \
--header 'Authorization: Apikey d51%2BOaqUeyuMDEh8%40RFnoDGq%2BVRCppATsGLXCh%2Bv6KzqHvIBbIr0BoUTAncVMKQ%3D%3D' \
--header 'Content-Type: application/json' \
--data '{
"module":"request",
"column":"department"
}'

Response

{
"Finance": 1,
"Total": 80,
"HR": 1,
"IT": 3,
"None": 75
}