Updated call for creating event.
Changed status from 200 to 400 for failed searches.
Merge branch 'feature/rest_scanned_document' into release/1.2.1-cardiff