Skip to main content
GET
/
organizations
/
{orgId}
/
compoundaggregations
List CompoundAggregations
curl --request GET \
  --url https://api.m3ter.com/organizations/{orgId}/compoundaggregations \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "version": 123,
      "customFields": {},
      "name": "<string>",
      "rounding": "UP",
      "quantityPerUnit": 123,
      "unit": "<string>",
      "code": "<string>",
      "segments": [
        {}
      ],
      "accountingProductId": "<string>",
      "calculation": "<string>",
      "productId": "<string>",
      "evaluateNullAggregations": true,
      "dtCreated": "2023-11-07T05:31:56Z",
      "dtLastModified": "2023-11-07T05:31:56Z",
      "createdBy": "<string>",
      "lastModifiedBy": "<string>"
    }
  ],
  "nextToken": "<string>"
}

Authorizations

Authorization
string
header
required

m3ter supports machine to machine authentication using the clientCredentials OAuth2 flow.

The authorizationCode flow controls access for human users via the m3ter Console application.

Path Parameters

orgId
string
required

The unique identifier (UUID) for your Organization. The Organization represents your company as a direct customer of our service.

Query Parameters

pageSize
integer<int32>

Specifies the maximum number of CompoundAggregations to retrieve per page.

Required range: 1 <= x <= 100
nextToken
string

The nextToken for multi-page retrievals. It is used to fetch the next page of CompoundAggregations in a paginated list.

productId
string[]

An optional parameter to filter the CompoundAggregations based on specific Product unique identifiers (UUIDs).

ids
string[]

An optional parameter to retrieve specific CompoundAggregations based on their unique identifiers (UUIDs).

codes
string[]

An optional parameter to retrieve specific CompoundAggregations based on their short codes.

Response

Returns the list of CompoundAggregations

data
object[]
nextToken
string