Aggregation Result Groups

getAggregationResultGroupsId

GET
/aggregationResultGroups/{id}

Query an AggregationResultGroup resource, which holds data regarding a processed aggregation.

Authorization

APIKEY<token>

In: header

Path Parameters

id*string

The ID of this resource or The Aggregation Result Group ID.

Query Parameters

embed?string

Use the embed query parameter to include full object(s) of related resource(s) directly within the API response. This allows retrieval of associated resources in a single request, reducing the need for multiple round-trips. Format: GET https://{server}.payrix.com/{endpoint}?embed={relatedObject}

Header Parameters

token?string

A single-use, limited authentication layer in addition to an API Key or Session Key to authorize sensitive operations. Auth Tokens add security by requiring one-time approval for specific actions.

request-token?string

A custom, one-time identifier for any API request (GET, PUT, POST, or DELETE). Blocks future requests with the same token for 48 hours, ensuring only the first request is processed. Valid values can contain 1-100 alphanumeric and special characters. See Request Tokens for more information.

Response Body

application/json

application/json

curl -X GET "https://example.com/aggregationResultGroups/t1_arg_66ebb2d6c50b04f8956be00"
{  "response": {    "data": [      {        "id": "t1_arg_66ebb2d6c50b04f8956be00",        "created": "2024-09-19 01:12:54.8084",        "modified": "2024-09-19 01:12:54.8084",        "creator": "t1_log_0092b50e8812b18e41d511s",        "modifier": "t1_log_0092b50e8812b18e41d511s",        "aggregation": "t1_agg_66eb3bbb34fcd59400728ba",        "resource": 27,        "search": "created[like]={{\"expand\": [{\"type\": \"date\",\"value\": \"-1 days\",\"format\": \"Y-m-d\",\"relativeTimestamp\":\"1726719301\"}]}}%",        "totals": "sum[0]=amount&count[0]=id&groups[0]=event&groups[1]=isFee",        "lastModified": "2024-09-19 01:12:54",        "effective": 202409190010,        "default": 1,        "type": "entityEntryEventMerchant",        "level": "merchant",        "degrouping": "groups[0]="      }    ],    "details": {      "requestId": 1,      "totals": [],      "page": {        "current": 1,        "last": 1,        "hasMore": false      }    },    "errors": []  }}