Accounts

Get an individual account by ID.

get/accounts/{id}

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

Path parameters

idinteger required

The ID of the Account requested

Response

Ok

idinteger required

Unique ID of this Account

credentialIdinteger

ID of the credential associated with this account

namestring required

The name of this Account

accountNumberstring

The Account Number for this Account

accountNumber2string

The second Account Number for this Account

externalServiceLevelstring required

Indicator whether Account is Positional or Transactional

dataBasisstring required

Indicator whether Account is Trade or Settlement

endDateLastTxstring date-time

Description: The date used for determining the starting period for retrieval of transactions on the next aggregation. This field cannot be modified.

accountCompleteboolean required

True if and only if the Account is 'complete'. To be complete there must be a related credential which is complete, and there must be an account number, and if the related Financial Institution requires an Account Number 2 this must also be present

lastUpdatedstring date-time

Account last updated date

accountTypestring

Account type

creationDatestring date-time required

Account creation date

maskedAccountNumberstring

Masked account number

fiIdinteger

ID of the Financial Institution.

Example response

{
  "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