Skip to main content
Omnitracs Knowledge Base

Driver->ExportDriverClock

ExportDriverClock (Driver Function)

Return one or more driver clock data based on a HOS rule set. This method returns a reduced amount of data compared to the ExportDriver method. It only returns data relevant to clock functions. It does not require the <RuleSet> parameter. This method uses the driver's current rule set.

XML Request

The request XML looks like this:

  
<soap:Body>  
    <ExportDriverClock xmlns="http://www.qualcomm.com">  
        <request>  
            <Drivers>  
                <string>string</string>  
                <string>string</string>  
            </Drivers>  
            <TimeResolutionInSeconds>boolean</TimeResolutionInSeconds>  
        </request>  
    </ExportDriverClock>  
</soap:Body>  

XML Response

The XML returned by this function looks like the following:

  
<soap:Body>  
    <ExportDriverClockResponse xmlns="http://www.qualcomm.com">  
      <ExportDriverClockResult>  
        <DriverExportClock>  
          <DriverExportClockData>  
            <DriverId>string</DriverId>  
            <DayRestBreak>int</DayRestBreak>  
            <DayDrive>int</DayDrive>  
            <DayDuty>int</DayDuty>  
            <WeekDuty>int</WeekDuty>  
            <DayOff>int</DayOff>  
            <Shift>int</Shift>  
            <WorkLeft>int</WorkLeft>  
            <TwentyFourHourResetEnabled>boolean</TwentyFourHourResetEnabled>  
            <WaitInOilWellEnabled>boolean</WaitInOilWellEnabled>  
            <HazmatLoadEnabled>boolean</HazmatLoadEnabled>  
            <LastAvailHoursRecalc>dateTime</LastAvailHoursRecalc>  
            <USDutyCycle>None or SevenDay or EightDay</USDutyCycle>  
            <CANDutyCycle>None or SevenDay or FourteenDay</CANDutyCycle>  
            <CurrentRuleSet>USA or CANMain or CANNorth or USACalifornia or USAFlorida or USATexas or USAAlaska</CurrentRuleSet>  
            <CycleResetTime>dateTime</CycleResetTime>  
            <NextQualifyingUsCycleResetStart>dateTime</NextQualifyingUsCycleResetStart>  
            <ContiguousActivityDuration>int</ContiguousActivityDuration>  
            <ContiguousNonworkingDuration>int</ContiguousNonworkingDuration>  
            <RestBreakExemptionEnabled>boolean</RestBreakExemptionEnabled>  
            <SixteenHourExemptionEnabled>boolean</SixteenHourExemptionEnabled>  
            <CurrentlyUsingRestBreakExemption>boolean</CurrentlyUsingRestBreakExemption>  
          </DriverExportClockData>  
          <DriverExportClockData>  
            <DriverId>string</DriverId>  
            <DayRestBreak>int</DayRestBreak>  
            <DayDrive>int</DayDrive>  
            <DayDuty>int</DayDuty>  
            <WeekDuty>int</WeekDuty>  
            <DayOff>int</DayOff>  
            <Shift>int</Shift>  
            <WorkLeft>int</WorkLeft>  
            <TwentyFourHourResetEnabled>boolean</TwentyFourHourResetEnabled>  
            <WaitInOilWellEnabled>boolean</WaitInOilWellEnabled>  
            <HazmatLoadEnabled>boolean</HazmatLoadEnabled>  
            <LastAvailHoursRecalc>dateTime</LastAvailHoursRecalc>  
            <USDutyCycle>None or SevenDay or EightDay</USDutyCycle>  
            <CANDutyCycle>None or SevenDay or FourteenDay</CANDutyCycle>  
            <CurrentRuleSet>USA or CANMain or CANNorth or USACalifornia or USAFlorida or USATexas or USAAlaska</CurrentRuleSet>  
            <CycleResetTime>dateTime</CycleResetTime>  
            <NextQualifyingUsCycleResetStart>dateTime</NextQualifyingUsCycleResetStart>  
            <ContiguousActivityDuration>int</ContiguousActivityDuration>  
            <ContiguousNonworkingDuration>int</ContiguousNonworkingDuration>  
            <RestBreakExemptionEnabled>boolean</RestBreakExemptionEnabled>  
            <SixteenHourExemptionEnabled>boolean</SixteenHourExemptionEnabled>  
            <CurrentlyUsingRestBreakExemption>boolean</CurrentlyUsingRestBreakExemption>  
          </DriverExportClockData>  
        </DriverExportClock>  
      </ExportDriverClockResult>  
    </ExportDriverClockResponse>  
  </soap:Body>  
  • Was this article helpful?