Retrieves a List of motor accident records matching the given request parameters or with an match of the given value to the driver ID or report number.
name | description | type | default | type |
---|---|---|---|---|
request | read for query parameters to be used as search criteria; use any combination
of fields from the motoraccident table
For example, /motorAccidents?driver_type=C&state=AL&accident_date=>=t-100
would find accidents for company drivers in the state of Alabama within the last 100 days. |
context | HttpServletRequest | |
q | string for which to search for motor accidents by driver ID or report number | query | String |
a list of RowMotorAccident
objects