product-usage

Uoms Count

GET
Counts the number of Unit of Measurements based on the given filters.

Query parameters

aggregation_typesenumOptional
List of aggregation types for filtering list of UOMs.
idsstringOptional
List of Unit of Measurement (UOM) DONs to be used in filtering complete list of UOMs defined in a Dev Org.
metric_namesstringOptional
List of metric names for filtering list of UOMs.
part_idsstringOptional
List of part IDs for filtering list of UOMs.
product_idsstringOptional
List of product IDs for filtering list of UOMs.
unit_typesenumOptional
List of unit types for filtering list of UOMs.
Allowed values: booleannumber

Response

This endpoint returns an object
count
integer
Count of Unit of Measurements matching the filter.
GET
1curl https://api.devrev.ai/uoms.count \
2 -H "Authorization: <apiKey>"
200
Retrieved
1{
2 "count": 1
3}