Save a selection filter and get its id
POST/filters
Checks the filter against the data-access layer's filter language (allowed fields and operators per entity type, value types, size limits), normalises it (keys and list values sorted, text trimmed, case kept) and stores it once. Saving the same filter again returns the existing document with 200. A filter never names a tenant: the tenant travels with the export request. Refusals answer 400 with one error per rule, each listing what is allowed.
Request
Responses
- 200
- 201
- 400
- 401
- 403
- 503
The same filter was saved before; this is its document
Saved
The filter breaks one or more rules; one error per rule, each naming what is allowed
Unauthorized
Not Allowed
The saved-filter store is switched off in this environment