Returns a list of motor accident records matching the given request parameters.
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/search?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 |
a list of RowMotorAccident records
Additional attributes:
__statusDescr
This value represents the description of the record status, found in the motoraccident.status
field.__accidentCodeDescr
This value represents the description of the accident code, found in the motoraccident.accident_code
field.__roadConditionDescr
This value represents the description of the road condition, found in the motoraccident.road_cond
field.__roadTypeDescr
This value represents the description of the road type, found in the motoraccident.road_type
field.__weatherCondDescr
This value represents the description of the weather conditions, found in the motoraccident.weather_cond
field.__locationTypeDesc
This value represents the description of the location type, found in the motoraccident.location_type
field.__contribFactorDescr
This value represents the description of the contributing factors, found in the motoraccident.contrib_factor
field.__trailerConfigDescr
This value represents the description of the trailer configuration, found in the motoraccident.trailer_config
field.__unitTypeDescr
This value represents the description of the tractor type, found in the motoraccident.unit_type
field.