Guide for fleets and partners
You are a fleet, a telematics or maintenance provider, or a technology partner that works with a company's equipment and people. In every call below, {partnercode} is the fleet's code.
Code
1. Inventory the fleet
Code
These lists come from the platform's search index: PascalCase summaries, 100 per page, 404 No tractors found. when a page is empty. Keep the identifiers:
- Tractor
DataGUID→idandtractorguid - Driver
ID→driverid - Carrier
ID→carrierid
Single-item reads return the richer camelCase actors with maintenance and notes:
Code
Fields the platform has no value for are omitted rather than returned as null.
2. Maintain equipment
Create and update tractors and trailers with the platform's PascalCase field names. Statuses and types must be codes from the partner's option lists:
Code
201returns the created record;200the updated one.207 { "errorMessages": [...], "card": {...} }means the record was saved but some submitted fields were skipped because of your role.422 Invalid TractorStatus(plain text) means the code is not in the partner's list.DELETE .../tractors/{id}andDELETE .../trailers/{id}answer204.
3. Hours of service
Code
Returns the duty-status records for the fleet's drivers on that calendar date. The operation is gated at the moment; ask for it when you request a key if your integration depends on it.
4. Telematics history
Positions for a tractor since a point in time, newest first, 100 per call:
Code
Code
When moreAvailable is true, move startdate forward to the newest PosDateTime you have and call again.
Daily performance summaries from the connected ELD (idle time, over-speed events, fuel, hard braking) come from:
Code
Each element is a PerformanceEvent with about 65 numeric fields; the reference documents them. Fields the provider does not report are null.
5. Push instead of pull
Register webhooks for gps and truckperformance on the truck object type, and hos on driver, to receive events as they happen. See Webhooks.
6. Geocoding utilities
Three helpers that need only your key, no partner code:
Code
Each returns a single ZoneActor (Description, Address1, City, State, ZipCode, Country, Latitude, Longitude). A 500 means no match scored above the confidence threshold; make the query more specific.
Errors you will see
| Response | Meaning |
|---|---|
404 No tractors found. | Empty page or no match; stop paging. |
422 Invalid TractorStatus | Use a code from the partner's status list. |
207 with errorMessages | Saved without the listed fields. |
See the error catalog.