...
Search contracts in DB according to requested query parameters
If contractor_legal_entity_id from contract according to requested parameters not equal client_id from token, show 404 Not found instead
Exclude deleted records (is_active = false)
...
Search contracts in DB according to requested query parameters
If contractor_legal_entity_id from contract according to requested parameters not equal client_id from token, show 404 Not found instead
Exclude deleted records (is_active = false)