AM/FA/Inv - Get Asset Capital Event History
Details
/external/v1/capital-events/assets/history
Synopsis
This route is used to retrieve the history data entries of all assets capital events on the ledger, given a set of search filters.
The history entries will reflect the state of the assets capital events on that particular block.
This endpoint returns paginated data. Up to 100 can be extracted per call.
This endpoint can be called by applications with access to scope "readCapitalEvent".
The number of rows being retrieved. Must be a positive integer.
The offset (i.e. row start index). Must be a positive integer (or 0).
The block number where the action was recorded on the ledger.
350
The transaction id where the action was recorded on the ledger.
456789OIJHGFCVGHJKLKJHGF67JH
Pattern: ^[a-zA-Z0-9-]*$
The name of the channel where the action was recorded on the ledger.
OG123
Pattern: ^[a-zA-Z0-9-]*$
The comma delimited list of capital event correlation ids to filter the asset capital event history records. Up to 100 records can be provided. Each record should not exceed 100 characters.
USCCWSF01I00,USCCWSF01I01
The organization identifier linked to the correlation ids provided in the "capitalEventCorrelationIdsFilter" property. If not provided the organization id will be inferred from the access token.
The comma delimited list of capital event ids to filter the asset capital event history records. Up to 100 records can be provided. Each record should not exceed 12 characters.
USCCWSF01I00,USCCWSF01I01
The comma delimited list of asset ids to filter the asset capital event history records. Up to 500 records can be provided. Each record should not exceed 12 characters.
USCCWSF01I00,USCCWSF01I01
The comma delimited list of asset correlation ids to filter the asset capital event history records. Up to 50 records can be provided. Each record should not exceed 100 characters.
1234,5678,7890
The organization identifier linked to the correlation ids provided in the "assetCorrelationIdsFilter" property. If not provided the organization id will be inferred from the access token.
GET /external/v1/capital-events/assets/history HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
[
{
"signerData": {
"name": "John Doe",
"email": "[email protected]"
},
"timestamp": "2024-09-12T00:00:00.000Z",
"blockNumber": 350,
"transactionId": "456789OIJHGFCVGHJKLKJHGF67JH",
"channelName": "OG123",
"organization": {
"name": "Test Organization",
"orgId": "TEST1234"
},
"event": "CapitalCallApplied",
"update": {
"assetId": "USS3JKS01",
"capitalEventId": "US9QIMAOAS1Q",
"amountCalled": 100000,
"expenses": 2000,
"breakdown": [
{
"categoryId": "USS3JKS01I00",
"amount": 90000,
"extraData": {
"some": "Custom Data"
}
},
{
"categoryId": "USS3JKS01I01",
"amount": 10000
}
],
"status": "draft",
"extraData": {
"some": "Extra Data"
}
}
}
]
Last updated
Was this helpful?