getAggregationResults
Query an AggregationResult resource holding field totals calculated when processing an aggregation.
In: header
Query Parameters
Set this path parameter to request a specific page of records.
For example, set ?page[number]=2 to retrieve the second page of records for this request.
Set this path parameter to request up to a specific amount of records. By default 30 records are retrieved per page. The maximum limit that can be set is 100.
For example, set ?page[limit]=50 to retrieve up to 50 records for this request.
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
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.
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.
Set this header to filter or sort the list of resources that the method returns. See Searches for detailed information and examples on how to use search header.
To configure a request to return a total for all instances of a field in a result set, use the totals header in the format totals={operator}[]={key}. This will calculate the desired total and return it in the details > totals object of the response. For instance, if you want to sum the total field of all transactions, you would use the sum operator. The response will include the result set, along with the calculated total in the details section. See Collection Operators for detailed information and examples on how to use totals header.
Response Body
application/json
application/json
curl -X GET "https://example.com/aggregationResults"{ "response": { "data": [ { "id": "t1_art_66ebb2d6c5b4a0212c1bd00", "created": "2024-09-19 01:12:54.8110", "modified": "2024-09-19 01:12:54.8110", "creator": "t1_log_0092b50e8812b18e41d511s", "modifier": "t1_log_0092b50e8812b18e41d511s", "aggregationResultGroup": "t1_arg_66ebb2d6c50b04f8956be40", "field": "id", "count": 0, "sum": 0, "min": 0, "max": 0, "grouping": "" } ], "details": { "requestId": 1, "totals": [], "page": { "current": 1, "last": 1, "hasMore": false } }, "errors": [] }}deleteAggregationResultsId DELETE
Delete an Aggregation Result that holds a field totals calculated when processing an aggregation.
getAlertActionsId GET
Query an alertAction; An alertAction resource represents a particular instance of an Alert that is sent out through one particular channel, for example, SMS, mobile application notification, or email, each alertAction being associated with an Alert resource.
