Accounts

Get the collection of all accounts

Changed on
get/accounts

Request

  • Base URL
    //basrvqaap6001.morningstar.com/WPDemo/webportfolio/api/v1 (relative, and the document’s source URL is not known)
  • Auth
    API key in header Authorization

Query parameters

credentialIdinteger

Get only the accounts for the specified 'credentialId'.

pageinteger

page number

sizeinteger

number of records per page

Response

Ok

pageSizeinteger

Number of records per page

pageNumberinteger

Page number of this page

totalPagesinteger

Total number of pages in result set

totalElementsinteger

Total number of elements in result set

isFirstboolean

True if and only if this is the first page of data in the result set

isLastboolean

True if and only if this is the last page of data in the result set

summaryDefaultSummaryDto

Example response

{
  "pageSize": 25,
  "totalPages": 1,
  "totalElements": 1,
  "isFirst": true,
  "isLast": true,
  "data": [
    {
      "id": 5566,
      "credentialId": 1234,
      "name": "AccountName",
      "accountNumber": "1234-ABCD",
      "accountNumber2": "9876-ZYXW",
      "externalServiceLevel": "5566",
      "dataBasis": "trade",
      "accountComplete": true,
      "lastUpdated": "2019-06-25T14:59:20Z",
      "accountType": "CREDITCARD",
      "maskedAccountNumber": "x-1234",
      "marketValue": {
        "amount": 2078.34,
        "currencyCode": "USD"
      },
      "fiId": 12484
    }
  ]
}

Changes