Overview
DriverTech offers an API to allow Clients to use their own back end systems instead of or in addition to the FleetWatcher Web Portal.
This API, known as the FleetWatcher API, is comprised of secure enterprise ready Web Services hosted by servers and networks designed for high availability. The services included in the FleetWatcher API are based upon the same core types as defined in the XSD/WSDL ensuring consistency. Also included is verbose error and exception reporting to speed initial development and enhance the ability to resolve problems programmatically.
Service Detail
Service Release Status | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Service | Version | Rev. Date | Upgrade Info | ||||||||||||||||||||||||
Administration | 2.0.102 | 03/10/2018 | Release Notes | ||||||||||||||||||||||||
Data | 2.1.82 | 02/28/2018 | Release Notes | ||||||||||||||||||||||||
Reports | 2.0.100 | 11/01/2017 | Release Notes | ||||||||||||||||||||||||
|
Service Integration
Implementation Overview
- All DateTime values are in UTC / GMT - both consumed and provided by the service (see XSD Date Time)
- Many common types are re-used throughout all services to enable developers to apply both DRY, and to a greater extent, SOLID principals:
- DriverBase - provides only enough detail required to identify a specific Driver or Operator
- TruckPCBase - provides only enough detail required to identify a specific Device or ELD
- Position - provides enough detail to pinpoint a location
- FormMessage - provides detail of the content for a particular instance of a Macro or Form
- Detailed Exception Reporting is provided via Soap Faults. VENDORS MUST, at a minimum, catch and handle ClientFaults vs ServerFaults appropriately:
Server Faults - Should be retried after a limited number of escalating periods of time
Client Faults - Shall not be retried as any additional attempt will invoke the same failed response UNLESS/UNTIL some external action is taken
Fault Detail
Data Sourcing Strategies
To prevent disruption by both intentional and unintentional DOS type of 'attacks' your requests will be rate limited as follows:
- Inbound (from Device->DataCenter->You) data requests by Company+User+Operation to not more than 1 every 1000ms
- Outbound (from You->DataCenter->Device) is rate-limited by Company+User+Operation to not more than 1 every 300ms
Guidelines for continual polling of various data types
Type | Recommended | Maximum Frequency | Notes |
DataService: InboundMessages | 5 minutes | 1 minutes | Drain Queue processing may be applied |
DataService: InboundFiles | 10 minutes | 1 minutes | Drain Queue processing may be applied |
DataService: TrailerEvents | varies | 1 minutes | Drain Queue processing may be applied |
DataService: HosTotals | 1 hours | 1 minutes | HosTotals can be continually calculated on the client between polling intervals Its possible to retreive only those which have been updated since the last request |
DataService: HosLogs | 6 hours | 1 hours | Drain Queue processing may be applied |
DataService: HosUnassignedDriving | 30 minutes | 5 minutes | |
ReportsService: ALL | 6 hours | 1 hours | Drain Queue processing may be applied |
|
Development Resources
Should you have any questions regarding the services or need assistance please contact Web Service Support via Email
Feel free to contact us for assistance in getting the most out of these Services!
Documentation is provided in the following locations:
- High Level Service Operation information - On each individual service page, below each operation AND in the WSDL linked at the top of each service page via "service reference"
- Detailed Type information - Within annotations in the various XSD files linked at the top of each service page
- Other documents referenced by the service pages - White papers, etc.
- Also available is an XSD Primer for viewing the XSD files mentioned above
Tools and Utilities
Applications which can display an XSD Graphically:
- Altova XML Spy
- Liquid Studio
- Stylus Studio XSD Editor
- XSD Diagram - Free but limited (does not display enum values etc)
- Membrane SOA - WSDL and Schema diff'ing tools
- Stackoverflow List of various apps
- You may send recommendations to the development team
During development of web services it can be very valuable to issue test requests before writing any code:
A free tool called SoapUI