POST dms.response.objects.delete (Webhook)
Please replace the previous denomination (dms.response.delete
) with the current denomination (dms.response.objects.delete
). The old denomination is deprecated as of version 2021 Summer.
As of Version | 2020 Autumn | ||||||
---|---|---|---|---|---|---|---|
HTTP Method | POST | ||||||
Response Format | JSON | ||||||
Description | This webhook is triggered directly after the successful deletion of a document and after the equivalent AMQP hook, and can for instance inform other systems. The | ||||||
Requirements for External Endpoint | The target URL must be a POST endpoint accepting and returning a list of objects. | ||||||
Affected API Requests and Action Codes/History Codes |
| ||||||
Called by Service | API-gateway service | ||||||
Header | Authorization-Header | ||||||
Example Request Body | Example Code { "properties": { "system:traceId": { "value": "0000000000000000" }, "system:objectTypeId": { "value": "appTable:order" }, "appTable:ordernumber": { "value": 1 }, "system:versionNumber": { "value": 1 }, "appTable:items": { "value": [ [ "fruits", 10 ], [ "milk", 1 ], [ "sweeties", 5 ] ] }, "system:creationDate": { "value": "2020-09-17T14:17:31.480Z" }, "system:lastModificationDate": { "value": "2020-09-17T14:17:31.480Z" }, "system:baseTypeId": { "value": "system:document" }, "system:tenant": { "value": "default" }, "appTable:customername": { "value": "customer1" }, "system:createdBy": { "value": "111c226c-3a44-5e66-7777-8d999a0000e1" }, "system:lastModifiedBy": { "value": "222c222c-2c22-2e22-2222-2d222d2222e2" }, "system:objectId": { "value": "f4efc4e4-1234-4321-4f74-4de4ff34f744" } }, "contentStreams": [ { "contentStreamId": "0AB98765-CDEF-4321-ABCD-098EF76AB543", "archivePath": "default/DOCUMENT/12/34/5/", "length": 9000003, "mimeType": "image/jpg", "digest": "1234567812345678123456781234567812345678123456781234567812345678", "repositoryId": "repo002" } ], "options": { "action": 200, "detail": "OBJECT_DELETED" } } | ||||||
Example Predicate | Check if the object type is appTable:order :
|