AM/FA/Inv - Update Assets External State
Details
/external/v1/asset/external-state
Synopsis
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".
This property contains the transactional data information, i.e. the security id to which all the assets in the list belong to
{"securityId":"USS3JKS01I00","signer":{"email":"[email protected]","name":"John Doe"}}
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.
The following error codes can be returned:
-
GN0002
-
IS0008
-
IS0106
-
AS0018
-
AS0013
-
AS0036
-
AS0035
Please refer to the error code dictionary for the details of each error code.
The following error codes can be returned:
-
AU0001
-
AU0003
Please refer to the error code dictionary for the details of each error code.
The following error codes can be returned:
-
AU0002
-
IS0099
Please refer to the error code dictionary for the details of each error code.
The following error codes can be returned:
-
IS0009
-
AS0001
-
AS0006
-
AS0007
Please refer to the error code dictionary for the details of each error code.
The following error codes can be returned:
-
IS0013
-
IS0012
-
AS0004
-
AS0037
Please refer to the error code dictionary for the details of each error code.
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?