GET api/Dashboard/GetDrivers/{CompanyId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CompanyId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Driver
NameDescriptionTypeAdditional information
DriverCode

string

None.

DriverName

string

None.

ShortName

string

None.

Address

string

None.

City

string

None.

State

string

None.

ZIP

string

None.

ZIP2

string

None.

Phone

string

None.

Social4

string

None.

Supervisor

string

None.

Division

string

None.

BirthDate

date

None.

HireDate

date

None.

TerminationDate

date

None.

LicenseExpiration

date

None.

PhysicalExpiration

date

None.

ReviewDate

date

None.

LicenseNumber

string

None.

Status

string

None.

CurrentOrder

string

None.

CurrentDispatch

string

None.

DestinationCity

string

None.

DestinationState

string

None.

UnitNumber

string

None.

HazmatPermit

string

None.

JIT

string

None.

FuelCard

string

None.

MiscField

string

None.

LockNumber

string

None.

PolicyFlags

string

None.

Dispatches

Collection of Dispatch

None.

Dispatcher

Dispatcher

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected for property 'Driver1DriverMaster' with type 'APIObjectClasses.AS400ObjectModels.Driver'. Path '[0].Dispatches[0]'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected for property 'Driver1DriverMaster' with type 'APIObjectClasses.AS400ObjectModels.Driver'. Path '[0].Dispatches[0]'.

text/html

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/html'. Exception message: Self referencing loop detected for property 'Driver1DriverMaster' with type 'APIObjectClasses.AS400ObjectModels.Driver'. Path '[0].Dispatches[0]'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[APIObjectClasses.AS400ObjectModels.Dispatch, APIObjectClasses, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[APIObjectClasses.AS400ObjectModels.Dispatch, APIObjectClasses, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.