getUOMsCount
Requires an authenticated session.
Count the units of measure that match the same filters as getUOMs.
Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.
Example:
- GraphQL
- cURL
query GetUOMsCount {
getUOMsCount
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "query GetUOMsCount {\n getUOMsCount\n}"
}
EOF
Response:
{
"data": {
"getUOMsCount": 0
}
}
getUOMsCount(
filters: UOMFiltersInput
): Int!
Arguments
getUOMsCount.filters ● UOMFiltersInput input
The same filters as getUOMs.
Type
Int scalar
The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.