Skip to Content
G360InventoryService Count Metrics

Service Count Metrics

GET/api/v1/inventory/services/countsInventory

Returns service metrics like vendor counts, service type counts, and total accounts.

Auth Scope
urn:grt:inventory
Content-Type
application/json
Rate Limit
60 req/min

Headers

HeaderValue
AuthorizationBearer access-token

Query Parameters

ParameterTypeRequiredDescription
granted_tenant_macnumstringNoThe company macnum on whose behalf the action is performed

Response

Success Response (200 OK)

Response Fields

FieldTypeDescription
total_recordsintegerThe total number of records found in the dataset
vendorsobjectAn object containing a count of records associated with each standardized vendor name. Each key is the vendor name (string), and the value is the record count (integer)
raw_vendorsobjectAn object containing a count of records associated with each raw vendor name. Each key is the vendor name (string), and the value is the record count (integer)
service_typesobjectAn object containing a count of records for each service type. Each key is the service type name (string), and the value is the record count (integer)
total_accountsintegerThe total number of unique accounts in the dataset

Code Examples

Errors

HTTP StatusError DescriptionResolution
401Authentication FailedVerify your access token is valid and included in the Authorization header with the "Bearer " prefix.
403Permission DeniedYour access token does not have the required scope (urn:grt:inventory). Contact your administrator to request the appropriate permissions.
Last updated on