POST dms.request.objects.upsert.storage-before (Webhook)
Please replace the previous denomination (dms.request.import.storage.before
) with the current denomination (dms.request.objects.upsert.storage-before
). The old denomination is deprecated as of version 2021 Summer.
As of Version | 2020 Spring | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HTTP Method | POST | ||||||||||||||||
Response Format | JSON | ||||||||||||||||
Description | This webhook can be triggered by The original body is an object list with the metadata of the import/update and the corresponding The body is modified by the webhook and returned for the resumption of the original process. 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 | REPOSITORY service | ||||||||||||||||
Header | Authorization-Header | ||||||||||||||||
Example Request Body | { "objects": [{ "properties": { "system:objectTypeId": { "value": "object" }, "label": { "value": "Label" }, "subentitaet": { "value": "Sub" }, "idn": { "value": "6754" }, "titel": { "value": "Titel" }, "medientyp": { "value": "Cool filename" } }, "contentStreams": [{ "cid": "cid_63apple", "mimeType": "application/pdf", "fileName" : "document01.pdf" }], "options": { "action": 101, "detail": "OBJECT_CREATED_WITH_CONTENT", "tenant": "tenant1" } }] } | ||||||||||||||||
Example Predicate | Check if there is an object without a
|