---
title: "Get aggregation result"
method: GET
path: "/aggregations/{ticket}"
tags: ["Aggregation"]
---

# Get aggregation result

`GET /aggregations/{ticket}`

## Request

- Base URL: `//basrvqaap6001.morningstar.com/WPDemo/webportfolio/api/v1` (relative, and the document’s source URL is not known)
- URL: `//basrvqaap6001.morningstar.com/WPDemo/webportfolio/api/v1/aggregations/{ticket}`
- Auth: API key in header `Authorization`

Obtain the final result of an aggregation operation

## Path parameters

- `ticket` string, required

## Response `200`

Ok

- CredentialAggregationResult: The result of a credential aggregation, which will incorporate status information from individual accounts
  - `id` integer, required: Account credential ID
  - `status` string, required: Account Credential ID associated with this authentication
  - `statusTimestamp` string, date-time, required: Status timestamp
  - `accountDiscoveryStatusErrcode` integer, required: Status code for the account discovery operation; will be null (absent) if account discovery not performed
  - `accountDiscoveryStatusInfo` string, required: Status info for the account discovery operation; will be null (absent) if account discovery not performed
  - `accountDiscoveryStatusTimestamp` string, date-time, required: Status info for the account discovery operation; will be null (absent) if account discovery not performed
  - `accounts` AggregationAccountResult[]: List of aggregated accounts associated with this credential
    - `id` integer: Account ID
    - `name` string, required: Account name
    - `accountUpdateStatusErrcode` integer: Status code for this account (1005 indicates success)
    - `accountUpdateStatusInfo` string: Status info for this account (null on success)
    - `lastUpdated` string, date-time: Timestamp of the last successful update
    - `lastUpdateAttempt` string, date-time: Timestamp of the last update attempt
    - `marketValue` CurrencyValue
      - `amount` number
      - `currencyCode` string

## Other responses

- `400`: Bad Request
- `401`: Not Authorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error

## Changes

- **2026-11-03** `475f167d1874`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/morningstar/apis/byallaccounts-api-07302024/changes/aggregations/:ticket/get.md)

---

[API](https://skmtc.dev/morningstar/apis/byallaccounts-api-07302024.md) - [All operations](https://skmtc.dev/morningstar/apis/byallaccounts-api-07302024/llms.txt) - [OpenAPI document](https://skmtc.dev/morningstar/apis/byallaccounts-api-07302024/revisions/475f167d1874?raw)
