AM/FA/Inv - Update Assets External State

Details

/external/v1/asset/external-state

Synopsis

Update Assets External State

put

This route is used to update the external state of a batch of assets.

All the assets provided in the payload should not be restricted and should belong to the same security.

The security should also not be restricted.

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

This triggers an asynchronous process (the id of which is returned on the success response) to persist this information on the blockchain which can be monitored using the "Transactions API" endpoints.

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

Authorizations
Body
transactionDataall ofRequired

This property contains the transactional data information, i.e. the security id to which all the assets in the list belong to

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

Successfully triggered the process to update the external state for a batch of assets. The "processId" and "orchestrationId" properties can be used on the "Transactions API" to monitor the status of this asynchronous process.

application/json
put
PUT /external/v1/asset/external-state HTTP/1.1
Host: 
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 246

{
  "transactionData": {
    "securityId": "USS3JKS01I00",
    "signer": {
      "email": "[email protected]",
      "name": "John Doe"
    }
  },
  "externalEntityStateData": [
    {
      "assetId": "USS3JKS01I00",
      "externalEntityState": {
        "status": "PENDING",
        "extraData": {
          "some": "custom property"
        }
      }
    }
  ]
}
{
  "processId": "2159457f-0167-4e93-a969-9cf0db05e0bf",
  "orchestrationId": "2159457f-0167-4e93-a969-9cf0db05e0bf"
}

Last updated

Was this helpful?