POST Api/v1/DutyStatus/Add

Change a driver's duty status. Only the driver themselves should be changing their duty status - all other change must be done as corrections.

Request Information

URI Parameters

None.

Body Parameters

DutyStatusCommand
NameDescriptionTypeAdditional information
DriverIds

Collection of string

Required

Status

ApiDutyStatus

Required

StatusModifier

ApiDutyStatusModifier

None.

Odometer

decimal number

Range: inclusive between 0 and 1.79769313486232E+308

OdometerWasInferred

boolean

None.

Location

string

Required

String length: inclusive between 0 and 255

Remark

string

Required

String length: inclusive between 0 and 255

Author

string

None.

Duration

time interval

None.

EnsureSafeChange

boolean

None.

Timestamp

date

Required

TimeZoneId

string

None.

ObservesDst

boolean

Required

AsTerminalTime

date

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.