POST dms.response.objects.search (Webhook)
As of Version | 2021 Summer |
---|---|
HTTP Method | POST |
Response Format | JSON |
Description | Search requests trigger this webhook if they were successful directly before the return. The body contains the search result that will be returned. The |
Requirements for External Endpoint | The target URL must be a POST endpoint accepting and returning a list of objects. |
Affected API Requests | |
Action Codes - History Codes | - |
Called by Service | API-gateway service |
Header | Authorization-Header |
Example Request Body | for the search query "select system:objectTypeId, system:objectId, system:creationDate from document" { "objects" : [ { "properties" : { "system:objectTypeId" : { "value" : "document" }, "system:objectId" : { "value" : "2be7b709-745a-4c0c-809e-512f9850876b" }, "system:creationDate" : { "value" : "2020-08-21T07:09:04.590Z" } } }, { "properties" : { "system:objectTypeId" : { "value" : "document" }, "system:objectId" : { "value" : "9ce1ab26-1a6b-4bc2-aa4b-2b099bff7468" }, "system:creationDate" : { "value" : "2020-07-23T13:12:34.370Z" } } }, { "properties" : { "system:objectTypeId" : { "value" : "document" }, "system:objectId" : { "value" : "436f9b7d-05f3-49d5-be31-2d7225ce00f7" }, "system:creationDate" : { "value" : "2020-07-21T11:27:31.410Z" } } } ], "numItems" : 3, "hasMoreItems" : true, "totalNumItems" : 208 } |
Example Predicate | Check if at least one object of the result list contains the property appAcl:acl :
|