GET /equipStatus/search
Searches the database for driver status events matching the given request parameters.
Roles that can access this endpoint are Drivers.
Parameters
name |
description |
type |
default |
type |
request |
read for query parameters to be used as search criteria; use any combination
of fields from the equipstatus table
For example, /equipstatus/search?event_code=TO&event_status=A&start_date=>t would
find approved time off (TO) driver status events for the current driver that starts after today. |
context
|
|
HttpServletRequest
|
Result
List
<
RowDriverStatus
>
of type:
application/xml
application/json
a list of RowDriverStatus
objects
Additional attributes:
__eventCodeDescr
This value represents the description of the event code, found in the equipstatus.event_code
field.
Child Elements:
RowDriver
This element represents the driver associated with the event, by the equipstatus.equipment_id
field.
The element contains a __name
attribute with the value driver
.
RowUsers
This element represents the entered by user associated with the event, by the equipstatus.entered_by
field.
The element contains a __name
attribute with the value enteredByUser
.
RowUsers
This element represent the driver manager user associated with the event, by the equipstatus.driver_mgr_id
field.
The element contains a __name
attribute with the value driverManagerUser
.
Try It Out
Request