POST dms.request.update.metadata
As of Version | 2019 Winter |
---|---|
HTTP Method | POST |
Response Format | JSON |
Description | An update of metadata can trigger the webhook before the JSON update description is normalized and validated, and before the actual update. Add The |
Requirements for External Endpoint | The target URL must be a POST endpoint accepting and returning a list of objects including the metadata. |
Affected API Requests | |
Restart Service | API-gateway service |
Header | Authorization-Header |
Example Request Body | { "objects": [{ "properties": { "Subject": { "value": "new subject" } }, "options": { "preserve_missing_properties": true, "currentVersion": { "properties": { "system:objectId": { "value": "5d460d53-b471-4c07-a5a6-d9ad95bddfe4" }, "system:baseTypeId": { "value": "system:document" }, "system:objectTypeId": { "value": "appEmail:email" }, "system:createdBy": { "value": "111c226c-3a44-5e66-7777-8d999a0000e1" }, "system:creationDate": { "value": "2020-03-06T16:46:13.310Z" }, "system:lastModifiedBy": { "value": "111c226c-3a44-5e66-7777-8d999a0000e5" }, "system:lastModificationDate": { "value": "2020-08-21T14:04:04.390Z" }, "system:versionNumber": { "value": 5 }, "system:tenant": { "value": "default" }, "system:traceId": { "value": "123456787654321" }, "appEmail:from": { "value": "user1@example.de>" }, "appEmail:to": { "value": ["user2@example.de>", "user3@example.de>"] }, "appEmail:subject": { "value": "old subject" }, "appEmail:received": { "value": "2019-12-22T11:52:19.000Z" } }, "contentStreams": [{ "contentStreamId": "0AB98765-CDEF-4321-ABCD-098EF76AB543", "length": 1093, "mimeType": "message/rfc822", "fileName": "content.eml", "digest": "1234567812345678123456781234567812345678123456781234567812345678", "repositoryId": "repo242" }] } } }] } |
Example Predicate | 1) Check if the object type is 2) Check if the |