PUT Api/v1/Company/Settings
Updates the company-wide hours of service configuration.
Request Information
URI Parameters
None.
Body Parameters
CompanyConfigCommandName | Description | Type | Additional information |
---|---|---|---|
HosEnabled | boolean |
None. |
|
DriverCorrectionsEnabled | boolean |
None. |
|
WarnThreshold | time interval |
Required |
|
AutoDutyStatusDisabled | boolean |
None. |
|
GpsStaleTime | time interval |
Required |
|
MoveToleranceKm | decimal number |
Range: inclusive between 0 and 1.79769313486232E+308 |
|
StopTime | time interval |
Required |
|
OverrideTimeout | time interval |
Required |
|
RetentionPeriodInMonths | integer |
Range: inclusive between 6 and 12 |
Request Formats
application/json, text/json
Sample:
{ "hosEnabled": true, "driverCorrectionsEnabled": true, "warnThreshold": "00:00:00.1234567", "autoDutyStatusDisabled": true, "gpsStaleTime": "00:00:00.1234567", "moveToleranceKm": 6.0, "stopTime": "00:00:00.1234567", "overrideTimeout": "00:00:00.1234567", "retentionPeriodInMonths": 9 }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.