object-type: holding

Attributes

object-id
See Common Attributes.
object-type
The string ‘holding’.
creator-id
See Common Attributes.
ref-count:
See Common Attributes.
owner-id
The object-id of the organization which owns this holding.
asset-type
One of ‘Currency’ or ‘Bond’.
asset-id
If asset-type is Bond, the asset-id will contain the object-id for that Bond. For asset-type of Currency, this will be the string ‘USD’.
amount
The current balance.

Example JSON

Example 1:

{
    "object-id" : "<OBJECT_ID>",
    "object-type" : "holding",
    "creator-id": "<OBJECT_ID>",
    "ref-count": 1,
    "owner-id": "<OBJECT_ID>",
    "asset-type": "Currency",
    "asset-id": "USD",
    "amount": 100.00
}

Example 2:

{
    "object-id" : "<OBJECT_ID>",
    "object-type" : "holding",
    "creator-id": "<OBJECT_ID>",
    "ref-count": 0,
    "owner-id": "<OBJECT_ID>",
    "asset-type": "Bond",
    "asset-id": "<OBJECT_ID>",
    "amount": 100.00
}