v1

latestOpenAPI 3.1.0Apache 2.02026-07-2498321298.8 KB
Investments

Get holding

Retrieve a specific holding.

get/financial-data/v2beta/portfolios/{pid}/holdings/{id}

Path parameters

pidstring required
Example:654d7617-1cd3-46ab-921a-56fd92acf4a4

ID of the portfolio which the holding is associated with.

idstring required

The ID of the holding.

Response

An holding.

idstring required

Unique resource identifier.

organizationIdstring required

Unique resource identifier for an Organization.

portfolioIdstring

Unique resource identifier.

namestring

Name of the holding.

taxIdstring

Tax ID of the holding.

type'MONEY_MARKET_FUND' | 'FIXED_TERM_FUND' | 'EXCHANGE_TRADED_FUND' | 'GOVERNMENT_BOND' | 'CORPORATE_BOND' | 'MUTUAL_FUND' required

The type of holding.

marketstring

Two-letter ISO 3166-1 alpha2 country code.

currencystring

Three-letter ISO 4217 currency code.

createdstring date-time required

Time at which the resource was created.

updatedstring date-time required

Time at which the resource was last updated.

versioninteger required

Resource version. Starts at value 1 when the resource is created and increases by one for each successive update.

metadataMetadata nullable

Metadata is a string-string key-value container that can be used to store information known at the time of resource creation. This can be retrieved later on, for instance when a payment or expected transaction is reconciled with the booked transaction on the bank statement.

Metadata can have at most 20 entries. Keys may have a maximum length of 64 chars and values a maximum length of 512 chars.

By default, this field is optional. It is possible to make it required in the Atlar Dashboard by visiting the Metadata keys page. Requirement rules can be specified per API resource. Both the Dashboard and the API will then enforce these rules and give validation errors when the required fields are not set.

etagstring required

ETag based on the resource version. This can be passed along in If-Match HTTP header when updating a resource to perform a conditional update.

Example response

{
  "id": "2ed9a3ee-60aa-4f9f-a858-2eed4eefbbc8",
  "organizationId": "0160f6ab-5741-49e1-af46-9138927e547e",
  "portfolioId": "2ed9a3ee-60aa-4f9f-a858-2eed4eefbbc8",
  "name": "JPMorgan Prime Money Market Fund",
  "taxId": "EXMPL0001",
  "type": "MONEY_MARKET_FUND",
  "market": "DE",
  "currency": "EUR",
  "position": {
    "id": "2ed9a3ee-60aa-4f9f-a858-2eed4eefbbc8",
    "holdingId": "2ed9a3ee-60aa-4f9f-a858-2eed4eefbbc8",
    "organizationId": "0160f6ab-5741-49e1-af46-9138927e547e",
    "timestamp": "2023-04-25T15:01:13.738861011Z",
    "localDate": "2022-05-07",
    "maturityDate": "2022-05-07",
    "type": "MONEY_MARKET_FUND",
    "nav": {
      "currency": "EUR",
      "stringValue": "15.02",
      "value": 1502
    },
    "scaledNav": {
      "currency": "EUR"
    },
    "totalValue": {
      "currency": "EUR",
      "stringValue": "15.02",
      "value": 1502
    },
    "nominal": {
      "currency": "EUR",
      "stringValue": "15.02",
      "value": 1502
    },
    "fundAum": {
      "currency": "EUR",
      "stringValue": "15.02",
      "value": 1502
    },
    "totalPurchasePrice": {
      "currency": "EUR",
      "stringValue": "15.02",
      "value": 1502
    },
    "version": 1,
    "etag": "version:3"
  },
  "created": "2022-05-04T18:31:12.889104898Z",
  "updated": "2022-05-04T18:47:32.213842599Z",
  "version": 1,
  "metadata": {
    "my_metadata_key": "2a9a79b9-601c-449b-aa05-432f41dbbc4a"
  },
  "etag": "version:3"
}