All pages
Powered by GitBook
1 of 1

Loading...

AM/FA - Update Capital Event

Before a capital event has been approved, the asset manager and fund administrator can make updates.

Details

/external/v1/capital-events/{capitalEventId}

Synopsis

Important Notes

  • See Blockchain Transaction Tracking for information on using orchestrationId and processId.

Update Capital Event

put

This route is used to trigger the update of a capital event (capital call or distribution) on the blockchain for a particular security.

It triggers an asynchronous process that will persist this information on the blockchain, which can be monitored using the "Transactions API" endpoints.

This will trigger either 1 or 2 transactions depending on the input (if assetDetails property is passed then it will be 2 transactions)

This endpoint can be invoked if the security is in one of the following statuses: ["active","completed","approved_revert_to_active","closed"].

This endpoint can be invoked if the capital event is in one of the following statuses: ["draft","pending"]

This endpoint can be invoked by organizations that have at least one of the following roles on this security: ["issuer","service_provider"].

This endpoint can't be invoked if the security is restricted.

This endpoint can be called by applications with access to scope "manageCapitalEvent".

Authorizations
Path parameters
capitalEventIdanyRequired

The id that uniquely identifies the capital event on the ledger.

Example: TEST5678
Body
transactionDataall ofRequired

This property contains the transactional data information, i.e. which is the security where the capital event is being created

Example: {"securityId":"USS3JKS01I00","signer":{"email":"[email protected]","name":"John Doe"}}
eventDataall ofRequired

This property contains the details of the capital event that is to be updated

Example: {"endDate":"2024-09-12T00:00:00.000Z","amountCalled":100000,"expenses":2000,"breakdown":[{"category":{"bookedCategoryId":"USS3JKS01I00","data":{"type":"investments","flowType":"againstCommitment","extraData":{"some":"Custom Data"}}},"amount":90000,"extraData":{"some":"Global data"}},{"category":{"data":{"type":"managementFeeInsideCommitment","flowType":"againstCommitment"}},"amount":10000},{"category":{"data":{"type":"managementFeeOutsideCommitment","flowType":"expenses","extraData":{"other":"Specific Data field"}}},"amount":2000},{"category":{"categoryId":"USS3JKS01I00"},"amount":4000}]}
Responses
200
Successfully triggered the update of the capital event The "processId" and "orchestrationId" properties can be used on the "Transactions API" to monitor the status of this asynchronous process.
application/json
400
The following error codes can be returned: - GN0002 - TX0006 - CE0003 - CE0020 - CE0021 - CE0022 - CE0023 - CE0057 - CE0065 - CE0037 - CE0016 - CE0017 - CE0018 - CE0019 - CE0066 - CE0067 Please refer to the error code dictionary for the details of each error code.
application/json
401
The following error codes can be returned: - AU0001 - AU0003 Please refer to the error code dictionary for the details of each error code.
application/json
403
The following error codes can be returned: - AU0002 - CE0002 - IS0099 Please refer to the error code dictionary for the details of each error code.
application/json
404
The following error codes can be returned: - CE0001 Please refer to the error code dictionary for the details of each error code.
application/json
409
The following error codes can be returned: - IS0013 - IS0012 - CE0014 - CE0015 - CE0039 - CE0005 - CE0035 - CE0057 - CE0065 - CE0058 - CE0059 - CE0063 - CE0060 - CE0064 - IS0015 Please refer to the error code dictionary for the details of each error code.
application/json
put
PUT /external/v1/capital-events/{capitalEventId} HTTP/1.1
Host: 
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 717

{
  "transactionData": {
    "securityId": "USS3JKS01I00",
    "signer": {
      "email": "[email protected]",
      "name": "John Doe"
    }
  },
  "eventData": {
    "endDate": "2024-09-12T00:00:00.000Z",
    "amountCalled": 100000,
    "expenses": 2000,
    "breakdown": [
      {
        "category": {
          "bookedCategoryId": "USS3JKS01I00",
          "data": {
            "type": "investments",
            "flowType": "againstCommitment",
            "extraData": {
              "some": "Custom Data"
            }
          }
        },
        "amount": 90000,
        "extraData": {
          "some": "Global data"
        }
      },
      {
        "category": {
          "data": {
            "type": "managementFeeInsideCommitment",
            "flowType": "againstCommitment"
          }
        },
        "amount": 10000
      },
      {
        "category": {
          "data": {
            "type": "managementFeeOutsideCommitment",
            "flowType": "expenses",
            "extraData": {
              "other": "Specific Data field"
            }
          }
        },
        "amount": 2000
      },
      {
        "category": {
          "categoryId": "USS3JKS01I00"
        },
        "amount": 4000
      }
    ]
  }
}
{
  "processId": "2159457f-0167-4e93-a969-9cf0db05e0bf",
  "orchestrationId": "2159457f-0167-4e93-a969-9cf0db05e0bf"
}