Skip to main content
Omnitracs Knowledge Base

Driver->GetRollOffTimeByDepotId

GetRollOffTimeByDepotId (Driver Function)

This function returns the time gained at the end of the day for the current day and the next day for all the drivers belonging to a particular depot.

XML Request

The GetRollOffTimeByDepotId function takes one parameter.

Parameter Type Description
DepotId int The depot id for which driver roll off times are requested
  
<soap:Body>  
    <GetRollOffTimeByDepotId xmlns="http://www.qualcomm.com">  
      <RequestParams>  
        <DepotId>int</DepotId>  
      </RequestParams>  
    </GetRollOffTimeByDepotId>  
</soap:Body>  

XML Response

The GetRollOffTimeByDepotId function returns the following values:

Parameter Type Description
DriverId string The driver's ID
RollOfToday int Time in minutes that will be gained at the end of the current day.
RollOffTomorrow int Time in minutes that will be gained at the end of the next day.
  
<soap:Body>  
    <GetRollOffTimeResponse xmlns="http://www.qualcomm.com">  
      <GetRollOffTimeResult>  
        <RollOffTimesList>  
          <RollOffTime>  
            <DriverId>string</DriverId>  
            <RollOfToday>int</RollOfToday>  
            <RollOffTomorrow>int</RollOffTomorrow>  
          </RollOffTime>  
          <RollOffTime>  
            <DriverId>string</DriverId>  
            <RollOfToday>int</RollOfToday>  
            <RollOffTomorrow>int</RollOffTomorrow>  
          </RollOffTime>  
        </RollOffTimesList>  
      </GetRollOffTimeResult>  
    </GetRollOffTimeResponse>  
  </soap:Body>  
  • Was this article helpful?