GET api/DriverCompliance/GetActiveDriverWorkShift?companyId={companyId}&hhid={hhid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyId

string

None.

hhid

string

None.

Body Parameters

None.

Response Information

Resource Description

DriverWorkShiftInfoModel
NameDescriptionTypeAdditional information
ShiftId

integer

None.

StartTime

date

None.

EstimateEndTime

date

None.

Response Formats

application/json, text/json

Sample:
{
  "ShiftId": 1,
  "StartTime": "2026-10-03T06:34:22.8546265+07:00",
  "EstimateEndTime": "2026-10-03T06:34:22.8546265+07:00"
}

application/xml, text/xml

Sample:
<DriverWorkShiftInfoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Android_API.Models">
  <EstimateEndTime>2026-10-03T06:34:22.8546265+07:00</EstimateEndTime>
  <ShiftId>1</ShiftId>
  <StartTime>2026-10-03T06:34:22.8546265+07:00</StartTime>
</DriverWorkShiftInfoModel>