Note
Please refer to Webhook Fundamentals for more details on how to effectively use webhooks.
Container Modified Post Result Webhook CallbackΒΆ
When the TrustID Cloud has completed processing of an application, it can call your own webhook if it has been told to do so.
To identify a webhook of this type you should check for the following 2 request properties:
CallbackInfo.WorkflowNameWill have one of the following values:UpdateDocumentContainerThis means that the container was modified.UpdateDocumentThis means a document within the container was modified.
CallbackInfo.WorkflowStateWill have a value ofStart.
The following is an example request payload for this webhook:
{
"Callback": {
"Aborted": false,
"CallbackAt": "/Date(1647258779242+0000)/",
"CallbackId": "18c4ccd7-8fad-417f-9e3f-267b19d9d118",
"CallbackStatusCode": 0,
"CallbackUrl": "https://webhook.site/36b87517-9e3e-4ba6-b237-9bd88b25cb75",
"ErrorMessage": null,
"ProcessName": "DataAccess.UpdateDocument",
"RetryCounter": 1,
"ScheduledAt": "/Date(1647258779233+0000)/",
"State": 5,
"UpdatedAt": "/Date(1647258779233+0000)/",
"WorkflowName": "UpdateDocument",
"WorkflowState": "Start",
"WorkflowStorage": [
{
"Key": "ContainerId",
"Value": "4e4d4a9c-7027-4ce1-9740-8dcfcef38532"
},
{
"Key": "DocumentId",
"Value": "f358d13b-40d3-4b13-b8cd-d35bb9772b2e"
},
{
"Key": "ClientApplicationReference",
"Value": null
}
]
},
"Response": {
"AccessDenied": false,
"CallbackId": null,
"Locked": false,
"Message": "Operation executed successfully.",
"SessionExpired": false,
"Success": true,
"VpeUnreachable": false,
"AutoReferred": false,
"ContainerId": "4e4d4a9c-7027-4ce1-9740-8dcfcef38532",
"DocumentId": "f358d13b-40d3-4b13-b8cd-d35bb9772b2e",
"DocumentReplaced": false,
"MergeContainers": false,
"Merged": false
}
}