Skip to main content
Omnitracs Knowledge Base

Driver->DriverViolations Request/Response Example

DriverViolations Request/Response Example

Request Example:

   
<soap:Body>  
<DriverViolations xmlns="http://www.qualcomm.com">  
<request>  
<DriverId>PDCTEST3</DriverId>  
<RuleSet>USA</RuleSet>  
<Start>2008-09-07T00:00:00</Start>  
<End>2008-09-10T00:00:00</End>  
</request>  
</DriverViolations>  
</soap:Body>  

Response Example:

   
<soap:Body>  
<DriverViolationsResponse xmlns="http://www.qualcomm.com">  
<DriverViolationsResult>  
<TimeZone>Pacific Daylight Time</TimeZone>  
<RuleSet>USA</RuleSet>  
<DrivingViolations>5</DrivingViolations>  
<OnDutyViolations>5</OnDutyViolations>  
<CumulativeOnDutyViolations>0</CumulativeOnDutyViolations>  
<ShiftViolations>0</ShiftViolations>  
<DayOffViolations>0</DayOffViolations>  
<Violations>  
<DriverViolationsData>  
<Type>OnDuty</Type>  
<Time>2008-09-07T00:05:00</Time>  
<Duration>13</Duration>  
</DriverViolationsData>  
<DriverViolationsData>  
<Type>Driving</Type>  
<Time>2008-09-07T00:05:00</Time>  
<Duration>13</Duration>  
</DriverViolationsData>  
<DriverViolationsData>  
<Type>Driving</Type>  
<Time>2008-09-07T00:36:00</Time>  
<Duration>12</Duration>  
</DriverViolationsData>  
<DriverViolationsData>  
<Type>OnDuty</Type>  
<Time>2008-09-07T00:36:00</Time>  
<Duration>12</Duration>  
</DriverViolationsData>  
<DriverViolationsData>  
<Type>OnDuty</Type>  
<Time>2008-09-07T01:06:00</Time>  
<Duration>12</Duration>  
</DriverViolationsData>  
<DriverViolationsData>  
<Type>Driving</Type>  
<Time>2008-09-07T01:06:00</Time>  
<Duration>12</Duration>  
</DriverViolationsData>  
<DriverViolationsData>  
<Type>OnDuty</Type>  
<Time>2008-09-07T01:36:00</Time>  
<Duration>13</Duration>  
</DriverViolationsData>  
<DriverViolationsData>  
<Type>Driving</Type>  
<Time>2008-09-07T01:36:00</Time>  
<Duration>13</Duration>  
</DriverViolationsData>  
<DriverViolationsData>  
<Type>Driving</Type>  
<Time>2008-09-07T02:06:00</Time>  
<Duration>13</Duration>  
</DriverViolationsData>  
<DriverViolationsData>  
<Type>OnDuty</Type>  
<Time>2008-09-07T02:06:00</Time>  
<Duration>13</Duration>  
</DriverViolationsData>  
</Violations>  
</DriverViolationsResult>  
</DriverViolationsResponse>  
</soap:Body>  
  • Was this article helpful?