Driver
Click here for a complete list of operations.
ExportDriverLog
Returns Driver logs for the time period provided.
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /QHOSWSNA/driver.asmx HTTP/1.1 Host: hos.omnitracs.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://www.omnitracs.com/ExportDriverLog" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ExportDriverLog xmlns="http://www.omnitracs.com"> <request> <DriverId>string</DriverId> <StartTime>dateTime</StartTime> <EndTime>dateTime</EndTime> <TimeResolutionInSeconds>boolean</TimeResolutionInSeconds> </request> </ExportDriverLog> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ExportDriverLogResponse xmlns="http://www.omnitracs.com"> <ExportDriverLogResult> <DriverExport> <DriverLogExportData> <DriverId>string</DriverId> <CoDriverId>string</CoDriverId> <StartTime>dateTime</StartTime> <Activity>int</Activity> <WaitingInOilWell>boolean</WaitingInOilWell> <HazmatOnDutyRest>boolean</HazmatOnDutyRest> <Duration>int</Duration> <Location>string</Location> <Document>string</Document> <TractorId>string</TractorId> <TrailerId>string</TrailerId> <Confirmed>boolean</Confirmed> <Edit>char</Edit> <SensorFailure>boolean</SensorFailure> <TimeZone>string</TimeZone> <Remark1>string</Remark1> <Remark2>string</Remark2> <EditReason>string</EditReason> </DriverLogExportData> <DriverLogExportData> <DriverId>string</DriverId> <CoDriverId>string</CoDriverId> <StartTime>dateTime</StartTime> <Activity>int</Activity> <WaitingInOilWell>boolean</WaitingInOilWell> <HazmatOnDutyRest>boolean</HazmatOnDutyRest> <Duration>int</Duration> <Location>string</Location> <Document>string</Document> <TractorId>string</TractorId> <TrailerId>string</TrailerId> <Confirmed>boolean</Confirmed> <Edit>char</Edit> <SensorFailure>boolean</SensorFailure> <TimeZone>string</TimeZone> <Remark1>string</Remark1> <Remark2>string</Remark2> <EditReason>string</EditReason> </DriverLogExportData> </DriverExport> </ExportDriverLogResult> </ExportDriverLogResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /QHOSWSNA/driver.asmx HTTP/1.1 Host: hos.omnitracs.com Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <ExportDriverLog xmlns="http://www.omnitracs.com"> <request> <DriverId>string</DriverId> <StartTime>dateTime</StartTime> <EndTime>dateTime</EndTime> <TimeResolutionInSeconds>boolean</TimeResolutionInSeconds> </request> </ExportDriverLog> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <ExportDriverLogResponse xmlns="http://www.omnitracs.com"> <ExportDriverLogResult> <DriverExport> <DriverLogExportData> <DriverId>string</DriverId> <CoDriverId>string</CoDriverId> <StartTime>dateTime</StartTime> <Activity>int</Activity> <WaitingInOilWell>boolean</WaitingInOilWell> <HazmatOnDutyRest>boolean</HazmatOnDutyRest> <Duration>int</Duration> <Location>string</Location> <Document>string</Document> <TractorId>string</TractorId> <TrailerId>string</TrailerId> <Confirmed>boolean</Confirmed> <Edit>char</Edit> <SensorFailure>boolean</SensorFailure> <TimeZone>string</TimeZone> <Remark1>string</Remark1> <Remark2>string</Remark2> <EditReason>string</EditReason> </DriverLogExportData> <DriverLogExportData> <DriverId>string</DriverId> <CoDriverId>string</CoDriverId> <StartTime>dateTime</StartTime> <Activity>int</Activity> <WaitingInOilWell>boolean</WaitingInOilWell> <HazmatOnDutyRest>boolean</HazmatOnDutyRest> <Duration>int</Duration> <Location>string</Location> <Document>string</Document> <TractorId>string</TractorId> <TrailerId>string</TrailerId> <Confirmed>boolean</Confirmed> <Edit>char</Edit> <SensorFailure>boolean</SensorFailure> <TimeZone>string</TimeZone> <Remark1>string</Remark1> <Remark2>string</Remark2> <EditReason>string</EditReason> </DriverLogExportData> </DriverExport> </ExportDriverLogResult> </ExportDriverLogResponse> </soap12:Body> </soap12:Envelope>