Skip to main content
Omnitracs Knowledge Base

Driver->DriverViolationsByGroup Request/Response Example

DriverViolationsByGroup Request/Response Example

Request example:

  
<soap:Body>  
    <DriverViolationsByGroup xmlns="http://www.qualcomm.com">  
        <request>  
            <Group>- All -</Group>  
            <RuleSet>USA</RuleSet>  
            <Start>2008-08-26T00:00:00</Start>  
            <End>2008-09-26T00:00:00</End>  
        </request>  
    </DriverViolationsByGroup>  
</soap:Body>  

Response Example:

  
<soap:Body>  
    <DriverViolationsByGroupResponse xmlns="http://www.qualcomm.com">  
        <DriverViolationsByGroupResult>  
            <Group>- All -</Group>  
            <RuleSet>USA</RuleSet>  
            <DriverCount>4</DriverCount>  
            <Violations>  
                <DriverViolationsByGroupData>  
                    <DriverId>PDCTEST1</DriverId>  
                    <TimeZone>Pacific Daylight Time</TimeZone>  
                    <DrivingViolations>0</DrivingViolations>  
                    <OnDutyViolations>30</OnDutyViolations>  
                    <CumulativeOnDutyViolations>7</CumulativeOnDutyViolations>  
                    <ShiftViolations>0</ShiftViolations>  
                    <DayOffViolations>0</DayOffViolations>  
                    <Violations>  
                        <DriverViolationsData>  
                            <Type>OnDuty</Type>  
                            <Time>2008-09-05T14:55:00</Time>  
                            <Duration>14</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>OnDuty</Type>  
                            <Time>2008-09-05T17:08:00</Time>  
                            <Duration>6</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>OnDuty</Type>  
                            <Time>2008-09-05T21:04:00</Time>  
                            <Duration>5</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>OnDuty</Type>  
                            <Time>2008-09-05T21:27:00</Time>  
                            <Duration>7</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>OnDuty</Type>  
                            <Time>2008-09-05T23:28:00</Time>  
                            <Duration>6</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>OnDuty</Type>  
                            <Time>2008-09-06T01:01:00</Time>  
                            <Duration>10</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>OnDuty</Type>  
                            <Time>2008-09-06T01:43:00</Time>  
                            <Duration>10</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>OnDuty</Type>  
                            <Time>2008-09-06T03:23:00</Time>  
                            <Duration>6</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>OnDuty</Type>  
                            <Time>2008-09-06T06:28:00</Time>  
                            <Duration>6</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>OnDuty</Type>  
                            <Time>2008-09-06T07:10:00</Time>  
                            <Duration>6</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>OnDuty</Type>  
                            <Time>2008-09-06T09:29:00</Time>  
                            <Duration>9</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>OnDuty</Type>  
                            <Time>2008-09-06T11:45:00</Time>  
                            <Duration>5</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>OnDuty</Type>  
                            <Time>2008-09-06T12:48:00</Time>  
                            <Duration>9</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>OnDuty</Type>  
                            <Time>2008-09-06T15:13:00</Time>  
                            <Duration>10</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>OnDuty</Type>  
                            <Time>2008-09-06T16:45:00</Time>  
                            <Duration>5</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>OnDuty</Type>  
                            <Time>2008-09-06T21:40:00</Time>  
                            <Duration>9</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>OnDuty</Type>  
                            <Time>2008-09-06T21:54:00</Time>  
                            <Duration>81</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>OnDuty</Type>  
                            <Time>2008-09-07T05:48:00</Time>  
                            <Duration>6</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>OnDuty</Type>  
                            <Time>2008-09-07T06:11:00</Time>  
                            <Duration>5</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>OnDuty</Type>  
                            <Time>2008-09-07T08:06:00</Time>  
                            <Duration>5</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>OnDuty</Type>  
                            <Time>2008-09-07T11:46:00</Time>  
                            <Duration>9</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>OnDuty</Type>  
                            <Time>2008-09-07T12:40:00</Time>  
                            <Duration>6</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>OnDuty</Type>  
                            <Time>2008-09-07T13:44:00</Time>  
                            <Duration>6</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>CumulativeOnDuty</Type>  
                            <Time>2008-09-07T16:06:00</Time>  
                            <Duration>5</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>OnDuty</Type>  
                            <Time>2008-09-07T16:06:00</Time>  
                            <Duration>5</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>CumulativeOnDuty</Type>  
                            <Time>2008-09-07T17:10:00</Time>  
                            <Duration>5</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>OnDuty</Type>  
                            <Time>2008-09-07T17:10:00</Time>  
                            <Duration>5</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>CumulativeOnDuty</Type>  
                            <Time>2008-09-07T19:24:00</Time>  
                            <Duration>6</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>OnDuty</Type>  
                            <Time>2008-09-07T19:24:00</Time>  
                            <Duration>6</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>OnDuty</Type>  
                            <Time>2008-09-07T20:12:00</Time>  
                            <Duration>6</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>CumulativeOnDuty</Type>  
                            <Time>2008-09-07T20:12:00</Time>  
                            <Duration>6</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>CumulativeOnDuty</Type>  
                            <Time>2008-09-07T22:22:00</Time>  
                            <Duration>5</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>OnDuty</Type>  
                            <Time>2008-09-07T22:22:00</Time>  
                            <Duration>5</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>CumulativeOnDuty</Type>  
                            <Time>2008-09-08T02:39:00</Time>  
                            <Duration>5</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>OnDuty</Type>  
                            <Time>2008-09-08T02:39:00</Time>  
                            <Duration>5</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>CumulativeOnDuty</Type>  
                            <Time>2008-09-08T10:32:00</Time>  
                            <Duration>7</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>OnDuty</Type>  
                            <Time>2008-09-08T10:32:00</Time>  
                            <Duration>7</Duration>  
                        </DriverViolationsData>  
                    </Violations>  
                </DriverViolationsByGroupData>  
                <DriverViolationsByGroupData>  
                    <DriverId>PDCTEST2</DriverId>  
                    <TimeZone>Pacific Daylight Time</TimeZone>  
                    <DrivingViolations>0</DrivingViolations>  
                    <OnDutyViolations>7</OnDutyViolations>  
                    <CumulativeOnDutyViolations>0</CumulativeOnDutyViolations>  
                    <ShiftViolations>0</ShiftViolations>  
                    <DayOffViolations>0</DayOffViolations>  
                    <Violations>  
                        <DriverViolationsData>  
                            <Type>OnDuty</Type>  
                            <Time>2008-09-09T05:39:00</Time>  
                            <Duration>5</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>OnDuty</Type>  
                            <Time>2008-09-09T06:52:00</Time>  
                            <Duration>5</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>OnDuty</Type>  
                            <Time>2008-09-09T07:26:00</Time>  
                            <Duration>5</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>OnDuty</Type>  
                            <Time>2008-09-09T08:42:00</Time>  
                            <Duration>5</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>OnDuty</Type>  
                            <Time>2008-09-09T10:15:00</Time>  
                            <Duration>6</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>OnDuty</Type>  
                            <Time>2008-09-09T10:48:00</Time>  
                            <Duration>6</Duration>  
                        </DriverViolationsData>  
                        <DriverViolationsData>  
                            <Type>OnDuty</Type>  
                            <Time>2008-09-09T11:34:00</Time>  
                            <Duration>39</Duration>  
                        </DriverViolationsData>  
                    </Violations>  
                </DriverViolationsByGroupData>  
            </Violations>  
        </DriverViolationsByGroupResult>  
    </DriverViolationsByGroupResponse>  
</soap:Body>  
  • Was this article helpful?