AM/FA/Inv - Add Comment
Details
Synopsis
This route is used to add a comment associated to entities. This action can be broadcast to all the counterparties that have access to these entities.
This will trigger an asynchronous process which can be monitored using the "Transactions API" endpoints.
This endpoint can be called by applications with access to scope "manageComments".
This property contains the transactional data information
{"signer":{"email":"[email protected]","name":"John Doe"},"extraData":{"someCustom":"property to be shared"}}
This property defines if the comment information will be sent to all counterparties.
false
Example: true
This property contains the counterparties that will receive the comment information. It is optional.
If not provided it will be sent to all counterparties that are entitled to the entity this comment is related to.
["ORG1","ORG2"]
This is the booked unique identifier of the comment. It is optional.
USS3JKS01I00SW24
This property contains the comment message. It is optional. Should be provided if no documents are attached.
an example comment message
Information about the user who made the comment
{"name":"John Doe","email":"[email protected]","team":"Compliance"}
The list of entities to associate to the comment
{"assetIds":["US9QIASSET1","US9QIASSET2"]}
Successfully added (or, if the action is being broadcast, triggered the addition of) the comment.
The following error codes can be returned:
-
GN0002
-
CM0001
-
CM0004
-
CM0007
-
CM0008
-
CM0009
Please refer to the error code dictionary for the details of each error code.
The following error codes can be returned:
- AU0001
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:
-
IS0009
-
AS0001
-
CM0002
-
CM0006
Please refer to the error code dictionary for the details of each error code.
The following error codes can be returned:
Please refer to the error code dictionary for the details of each error code.
POST /external/v1/comment HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 835
{
"transactionData": {
"signer": {
"email": "[email protected]",
"name": "John Doe"
},
"extraData": {
"someCustom": "property to be shared"
}
},
"broadcastToCounterparty": true,
"counterparties": [
"ORG1",
"ORG2"
],
"bookedCommentId": "USS3JKS01I00SW24",
"message": "an example comment message",
"userInfo": {
"name": "John Doe",
"email": "[email protected]",
"team": "Compliance"
},
"associatedEntities": {
"assetIds": [
"US9QIASSET1",
"US9QIASSET2"
]
},
"documents": [
{
"uploadData": {
"type": "AdditionalSubscriptionTerms",
"extension": "pdf",
"name": "Subscription Terms",
"link": "https://test-storage.s3.amazonaws.com/sub-terms.pdf",
"correlationData": [
{
"broadcastToCounterparty": true,
"correlationId": "123245573717",
"origin": "Identifies file on backoffice",
"extraData": {
"some": "Custom Property"
}
}
]
},
"extraData": {
"someCustom": "property to be shared"
}
},
{
"fileId": "FILE3JUS03I04"
}
]
}
{
"processData": {
"processId": "2159457f-0167-4e93-a969-9cf0db05e0bf",
"orchestrationId": "2159457f-0167-4e93-a969-9cf0db05e0bf"
}
}
Last updated
Was this helpful?