---
title: "Get the collection of all transactions"
method: GET
path: "/transactions"
tags: ["Transaction"]
---

# Get the collection of all transactions

`GET /transactions`

## 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/transactions`
- Auth: API key in header `Authorization`

## Query parameters

- `accountIds` string
- `page` integer
- `size` integer
- `sort` string

## Response `200`

Ok

- PageTransactionDefaultSummaryDto: A page of data records
  - `pageSize` integer: Number of records per page
  - `pageNumber` integer: Page number of this page
  - `totalPages` integer: Total number of pages in result set
  - `totalElements` integer: Total number of elements in result set
  - `isFirst` boolean: True if and only if this is the first page of data in the result set
  - `isLast` boolean: True if and only if this is the last page of data in the result set
  - `summary` DefaultSummaryDto
  - `data` Transaction[]
    - `id` integer, required: Unique numeric identifier of the transaction
    - `accountId` integer, required: Identifier of the Account on which the transaction represents activity.
    - `txType` string, required: Type of the transaction
    - `ticker` string: The ticker from the related security, if available.
    - `cusip` string: The Committee on Uniform Security Identification Procedures (CUSIP) from the related security, if available.
    - `name` string: Either the name of the Security or a short description of the Transaction. This will be the first valid value taken from related objects in this order: 1) security name, 2) position name, and 3) transaction name.
    - `description` string: Either the name of the Security and/or a longer description of the Transaction.
    - `units` number: Number of units (of security) involved in the Transaction.
    - `price` CurrencyValue
      - `amount` number
      - `currencyCode` string
    - `executionDate` string, date-time, required: Date on which this Transaction was executed. Also called Trade Date.
    - `totalAmount` CurrencyValue
      - `amount` number
      - `currencyCode` string
    - `commissions` CurrencyValue
      - `amount` number
      - `currencyCode` string
    - `commissionsFees` CurrencyValue
      - `amount` number
      - `currencyCode` string
    - `fees` CurrencyValue
      - `amount` number
      - `currencyCode` string
    - `fiSuppliedDescription` string: Transaction description as provided by the financial institution.
    - `spendingCategory` string: The consumer spending category attributed to the transaction.
    - `spendingCategoryInfo` string: For consumer spending transactions, specifies if the transaction was an outgoing payment (expense) or incoming receipt (income).
    - `flowUnits` number: Normalized units for the transaction. Whereas UNITS contains units value directly from the financial institution and may have great variations in sign within a given transaction type, FLOW_UNITS contains this same units value but is normalized by transaction type (e.g. Withdrawal will always have negative FLOW_UNITS).
    - `flowAmount` CurrencyValue, required
      - `amount` number
      - `currencyCode` string
    - `origTxType` string: Transactions reported as a reversal or cancellation by the financial institution will have the original transaction type code in this field.
    - `morningstarSecId` string: Morningstar investment identifier.
    - `morningstarPerfId` string: For equities, this field contains the Morningstar performance identifier. This field is empty for anything other than equities.
    - `positionId` integer: Unique internal identifier for the position associated with the transaction.
    - `securityId` integer: ID for the Security for which the Transaction represents activity.

## Other responses

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

---

[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)
