OnlineAVL Published Interface
Click here for a complete list of operations.
GetVehicleDVIR
Get all vehicle DVIR for the specified fleets/vehicles/drivers
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 /onlineavl/api/V2.7/service.asmx HTTP/1.1 Host: onlineavl2api-us.navmanwireless.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://onlineavl2.navmanwireless.com/0907/GetVehicleDVIR" <?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> <GetVehicleDVIR xmlns="http://onlineavl2.navmanwireless.com/0907/"> <request> <Session> <SessionId>guid</SessionId> </Session> <Version>long</Version> <RequestType>Owner or Vehicle or Driver</RequestType> <IDs> <guid>guid</guid> <guid>guid</guid> </IDs> <StatusType>int</StatusType> <StartDateUTC>dateTime</StartDateUTC> <EndDateUTC>dateTime</EndDateUTC> </request> </GetVehicleDVIR> </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> <GetVehicleDVIRResponse xmlns="http://onlineavl2.navmanwireless.com/0907/"> <GetVehicleDVIRResult> <OperationStatus>boolean</OperationStatus> <StatusMessage> <SystemMessage> <MessageCode>int</MessageCode> <ExceptionMessage>string</ExceptionMessage> <ExceptionStackTrace>string</ExceptionStackTrace> <ExceptionType>string</ExceptionType> </SystemMessage> <SystemMessage> <MessageCode>int</MessageCode> <ExceptionMessage>string</ExceptionMessage> <ExceptionStackTrace>string</ExceptionStackTrace> <ExceptionType>string</ExceptionType> </SystemMessage> </StatusMessage> <MoreItemsAvailable>boolean</MoreItemsAvailable> <RemovedItems> <guid>guid</guid> <guid>guid</guid> </RemovedItems> <Version>long</Version> <VehicleDVIRs> <VehicleDVIR> <ReportID>string</ReportID> <VehicleID>guid</VehicleID> <VehicleName>string</VehicleName> <DriverID>guid</DriverID> <Trailer1>string</Trailer1> <Trailer2>string</Trailer2> <EventDate>dateTime</EventDate> <Latitude>double</Latitude> <Longitude>double</Longitude> <StreetAddress>string</StreetAddress> <Odometer>double</Odometer> <Fuel>double</Fuel> <Summary>string</Summary> <EventLogID>long</EventLogID> <StatusType>int</StatusType> <UpdateTypeID>int</UpdateTypeID> <Comments>string</Comments> <UpdateID>long</UpdateID> <OwnerID>guid</OwnerID> <FirstName>string</FirstName> <LastName>string</LastName> <StatusDescription>string</StatusDescription> <UpdateTypeDescription>string</UpdateTypeDescription> </VehicleDVIR> <VehicleDVIR> <ReportID>string</ReportID> <VehicleID>guid</VehicleID> <VehicleName>string</VehicleName> <DriverID>guid</DriverID> <Trailer1>string</Trailer1> <Trailer2>string</Trailer2> <EventDate>dateTime</EventDate> <Latitude>double</Latitude> <Longitude>double</Longitude> <StreetAddress>string</StreetAddress> <Odometer>double</Odometer> <Fuel>double</Fuel> <Summary>string</Summary> <EventLogID>long</EventLogID> <StatusType>int</StatusType> <UpdateTypeID>int</UpdateTypeID> <Comments>string</Comments> <UpdateID>long</UpdateID> <OwnerID>guid</OwnerID> <FirstName>string</FirstName> <LastName>string</LastName> <StatusDescription>string</StatusDescription> <UpdateTypeDescription>string</UpdateTypeDescription> </VehicleDVIR> </VehicleDVIRs> </GetVehicleDVIRResult> </GetVehicleDVIRResponse> </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 /onlineavl/api/V2.7/service.asmx HTTP/1.1 Host: onlineavl2api-us.navmanwireless.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> <GetVehicleDVIR xmlns="http://onlineavl2.navmanwireless.com/0907/"> <request> <Session> <SessionId>guid</SessionId> </Session> <Version>long</Version> <RequestType>Owner or Vehicle or Driver</RequestType> <IDs> <guid>guid</guid> <guid>guid</guid> </IDs> <StatusType>int</StatusType> <StartDateUTC>dateTime</StartDateUTC> <EndDateUTC>dateTime</EndDateUTC> </request> </GetVehicleDVIR> </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> <GetVehicleDVIRResponse xmlns="http://onlineavl2.navmanwireless.com/0907/"> <GetVehicleDVIRResult> <OperationStatus>boolean</OperationStatus> <StatusMessage> <SystemMessage> <MessageCode>int</MessageCode> <ExceptionMessage>string</ExceptionMessage> <ExceptionStackTrace>string</ExceptionStackTrace> <ExceptionType>string</ExceptionType> </SystemMessage> <SystemMessage> <MessageCode>int</MessageCode> <ExceptionMessage>string</ExceptionMessage> <ExceptionStackTrace>string</ExceptionStackTrace> <ExceptionType>string</ExceptionType> </SystemMessage> </StatusMessage> <MoreItemsAvailable>boolean</MoreItemsAvailable> <RemovedItems> <guid>guid</guid> <guid>guid</guid> </RemovedItems> <Version>long</Version> <VehicleDVIRs> <VehicleDVIR> <ReportID>string</ReportID> <VehicleID>guid</VehicleID> <VehicleName>string</VehicleName> <DriverID>guid</DriverID> <Trailer1>string</Trailer1> <Trailer2>string</Trailer2> <EventDate>dateTime</EventDate> <Latitude>double</Latitude> <Longitude>double</Longitude> <StreetAddress>string</StreetAddress> <Odometer>double</Odometer> <Fuel>double</Fuel> <Summary>string</Summary> <EventLogID>long</EventLogID> <StatusType>int</StatusType> <UpdateTypeID>int</UpdateTypeID> <Comments>string</Comments> <UpdateID>long</UpdateID> <OwnerID>guid</OwnerID> <FirstName>string</FirstName> <LastName>string</LastName> <StatusDescription>string</StatusDescription> <UpdateTypeDescription>string</UpdateTypeDescription> </VehicleDVIR> <VehicleDVIR> <ReportID>string</ReportID> <VehicleID>guid</VehicleID> <VehicleName>string</VehicleName> <DriverID>guid</DriverID> <Trailer1>string</Trailer1> <Trailer2>string</Trailer2> <EventDate>dateTime</EventDate> <Latitude>double</Latitude> <Longitude>double</Longitude> <StreetAddress>string</StreetAddress> <Odometer>double</Odometer> <Fuel>double</Fuel> <Summary>string</Summary> <EventLogID>long</EventLogID> <StatusType>int</StatusType> <UpdateTypeID>int</UpdateTypeID> <Comments>string</Comments> <UpdateID>long</UpdateID> <OwnerID>guid</OwnerID> <FirstName>string</FirstName> <LastName>string</LastName> <StatusDescription>string</StatusDescription> <UpdateTypeDescription>string</UpdateTypeDescription> </VehicleDVIR> </VehicleDVIRs> </GetVehicleDVIRResult> </GetVehicleDVIRResponse> </soap12:Body> </soap12:Envelope>