GET /motorAccidents/{id}
Retrieves the RowMotorAccident record requested by the ID parameter.
Roles that can access this endpoint are Users, Drivers.
Parameters
name |
description |
type |
default |
type |
id |
the ID of the record to be returned |
path
|
|
String
|
Result
RowMotorAccident
of type:
application/xml
application/json
the requested RowMotorAccident record
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.
Child Elements:
RowAccidentCost
This element represents costs records associated with motor accident.
The element contains a __name
attribute with the value accidentCost
.
RowWitness
This element represents witness records associated with the motor accident.
The element contains a __name
attribute with the value witness
.
RowPropertyDamage
This element represents property damage records associated with the motor accident.
The element contains a __name
attribute with the value propertyDamage
.
RowPersonalInjury
This element represents personal injury records associated with the motor accident.
The element contains a __name
attribute with the value personalInjury
.
RowComments
This element represents comments associated with the motor accident.
The element contains a __name
attribute with the value comments
.
RowTractor
This element represent the tractor associated with the motor accident, by the motoraccident.tractor_id
field.
The element contains a __name
attribute with the value tractor
.
RowDriver
These element represent the drivers associated with the motor accident, by the motoraccident.driver_id
field.
The element contains a __name
attribute with the value driver
.
RowTrailer
These element represent the trailers associated with the motor accident, by the motoraccident.trailer)id
field.
The element contains a __name
attribute with the value trailer
.
RowUsers
This element represent the dispatcher associated with the motor accident, by the motoraccident.dispatcher
field.
The element contains a __name
attribute with the value dispatcherUser
.
RowUsers
This element represent the driver manager user associated with the motor accident, by the motoraccident.driver_mgr
field.
The element contains a __name
attribute with the value driverManagerUser
.
Try It Out
Request