AM/FA/Inv - Enterprise Organization Update Metadata
Details
Synopsis
This route is used for an organization (or a channel administrator on its behalf) to update its data on the blockchain.
This triggers an asynchronous process (the id of which is returned on the success response) which can be monitored using the "Transactions API" endpoints.
This endpoint can be called by applications with access to scope "manageOrgs".
The unique identifier of the organization on the blockchain
US9QIMA
The name of the organization.
Bank Name
The url to the integration rest api.
https://integration-api.atorg.com
This property contains the transactional data information, i.e. signer information and signature mechanism
{"signer":{"email":"[email protected]","name":"John Doe"}}
The orgId(s) of the organizations that this org does business with.
["US9QIMA","US9QIMB"]
Successfully triggered the process to update org metadata on the ledger
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
-
OG0021
-
OG0022
-
OG0018
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
Please refer to the error code dictionary for the details of each error code.
The following error codes can be returned:
-
OG0013
-
OG0002
-
OG0020
-
OG0026
Please refer to the error code dictionary for the details of each error code.
PUT /external/v1/org/{orgId}/data HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 329
{
"extraData": {
"externalId": "123456789",
"some": "Custom Property"
},
"name": "Bank Name",
"outboundAddressList": [
{
"ip": "127.0.0.1",
"address": "outbound.atorg.com"
}
],
"integrationApiAddress": "https://integration-api.atorg.com",
"transactionData": {
"signer": {
"email": "[email protected]",
"name": "John Doe"
}
},
"orgACL": [
"US9QIMA",
"US9QIMB"
]
}
{
"processId": "2159457f-0167-4e93-a969-9cf0db05e0bf",
"orchestrationId": "2159457f-0167-4e93-a969-9cf0db05e0bf"
}
Last updated
Was this helpful?