Fixes #7378 - fixed API lookup keys filters

- forced search to be successful when resource id is provided
- added API documentation for missing parameters
How can all these parameters be documented as ```required: false``` if these are identifiers? Without any the query won't work.