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. The metadata are not yet enriched with the system properties that are automatically set by the system. To refer to those properties in a webhook, use POST dms.request.objects.upsert.database-before (Webhook). 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 |
| ||||||||||||||
Restart 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" }] }] } | ||||||||||||||
Example Predicate | Check if there is an object without a
|