Fleet and partner master data shared through the Partner Network: tractors, trailers, drivers, hours of service, carriers and locations.
Tractors - Get Tractors
Get a list of active trucks (tractors) for a specific partner.
path Parameters
partnercodePartner code of the company whose data this request reads or writes (its VIA company code, for example MIST). Your API key identifies your own company; the request succeeds only when the two companies have an approved, API-enabled partnership in the Partner Network. Use Get Active Partners to list the codes available to you.
query Parameters
pagePage number to return, starting at 1. Omit for the first page.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Tractors - Get Tractors › Responses
Tractors for the partner, 100 per page.
TractorNumberDataGUIDStable identifier; use it as tractorguid on positions and performance routes and as id on Get Tractor.
LastContactLatitudeLastContactLongitudeLastContactDateTimeTractorLastContactProximityLast known position as text.
SerialNumberVIN or serial number.
TractorMakeTractorModelTractorYearLicensePlateLicenseStateTerminalIdCompanyDivisionTractorType1TractorType2TractorType3TractorType4Tractors - Create Tractor
Create a tractor
path Parameters
partnercodePartner code of the company whose data this request reads or writes (its VIA company code, for example MIST). Your API key identifies your own company; the request succeeds only when the two companies have an approved, API-enabled partnership in the Partner Network. Use Get Active Partners to list the codes available to you.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Tractors - Create Tractor › Request Body optional
tractorNumbertractorType1tractorType2tractorType3tractorType4tractorStatustractorMaketractorModeltractorYearlicensePlateserialNumberlastContactDateTimelastContactCitylastContactStatetractorLastContactProximitylicenseStatemobileCommIDodometerMaintenance items mapped to VIA; each object uses keys accepted by the inbound maintenance mapper (camelCase; PascalCase alts in code for id/created/name/due*).
Notes for the tractor
Tractors - Create Tractor › Responses
The created tractor.
idtractorNumberdataGUIDtractorTypetractorType1tractorType2tractorType3tractorType4lastContactCitylastContactStatelastContactZipCodelastContactLatitudelastContactLongitudelastContactDatelastContactTimetractorLastContactProximitylastContactDateTimeetaCityetaStateetaZipCodeetaLatitudeetaLongitudeetaDateetaTimeetaDateTimelicensePlateserialNumbervehicleGroupIdlastContactProximityDescriptionterminatedDateterminalIdtractorMaketractorModeltractorYeartractorStatusmobileCommIDodometertotalHoursalternateIdcurrentDriverIdlastMessageTimestampdieselHourselectricHourslicenseStateterminalNameexpirationDateMaintenance records for the tractor
Notes associated with the tractor
Drivers - Get Driver
Get a single driver for the partner by driver id.
path Parameters
partnercodePartner code of the company whose data this request reads or writes (its VIA company code, for example MIST). Your API key identifies your own company; the request succeeds only when the two companies have an approved, API-enabled partnership in the Partner Network. Use Get Active Partners to list the codes available to you.
driveridDriver identifier as returned by Get Drivers.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Drivers - Get Driver › Responses
The driver as a one-element array.
IDDriver card identifier; use it as driverid.
DataGUIDDriverIdDriver code in the partner's system.
DriverNameStatusBirthDateAddressCityStateCountyCountry (historical field name).
LastContactLatitudeLastContactLongitudeLastContactProximityLicenseExpireDateLicenseNumberLicenseStatePhoneMobilePhoneTerminatedDateFirstNameMiddleNameLastNameEmailGenderCreationDateDrivers - Get Drivers
Returns a list of active drivers for a specific partner.
path Parameters
partnercodePartner code of the company whose data this request reads or writes (its VIA company code, for example MIST). Your API key identifies your own company; the request succeeds only when the two companies have an approved, API-enabled partnership in the Partner Network. Use Get Active Partners to list the codes available to you.
query Parameters
pagePage number to return, starting at 1. Omit for the first page.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Drivers - Get Drivers › Responses
Drivers for the partner, 100 per page.
IDDriver card identifier; use it as driverid.
DataGUIDDriverIdDriver code in the partner's system.
DriverNameStatusBirthDateAddressCityStateCountyCountry (historical field name).
LastContactLatitudeLastContactLongitudeLastContactProximityLicenseExpireDateLicenseNumberLicenseStatePhoneMobilePhoneTerminatedDateFirstNameMiddleNameLastNameEmailGenderCreationDateDrivers - Get Hours of Service
Retrieve Hours of Service (ELD) information for a driver.
path Parameters
partnercodePartner code of the company whose data this request reads or writes (its VIA company code, for example MIST). Your API key identifies your own company; the request succeeds only when the two companies have an approved, API-enabled partnership in the Partner Network. Use Get Active Partners to list the codes available to you.
dateCalendar date in YYYY-MM-DD form. Hours of service are returned for this day.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Drivers - Get Hours of Service › Responses
Hours-of-service records for the partner's drivers on the given date.
Tractors - Get GPS Positions
Get historical positions for a specific tractor (vehicle).
path Parameters
partnercodePartner code of the company whose data this request reads or writes (its VIA company code, for example MIST). Your API key identifies your own company; the request succeeds only when the two companies have an approved, API-enabled partnership in the Partner Network. Use Get Active Partners to list the codes available to you.
tractorguidTractor identifier as returned by Get Tractors (the id field of a tractor).
query Parameters
pagePage number to return, starting at 1. Omit for the first page.
startdateOnly return records changed on or after this UTC date-time (ISO 8601).
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Tractors - Get GPS Positions › Responses
Positions recorded for the tractor since fromDateTime.
Newest positions, at most 100 per call.
moreAvailableTrue when more positions exist than were returned; narrow the time window to see them.
Tractors - Get Performance Events
Get historical performance events for a specific tractor (vehicle).
path Parameters
partnercodePartner code of the company whose data this request reads or writes (its VIA company code, for example MIST). Your API key identifies your own company; the request succeeds only when the two companies have an approved, API-enabled partnership in the Partner Network. Use Get Active Partners to list the codes available to you.
tractorguidTractor identifier as returned by Get Tractors (the id field of a tractor).
query Parameters
pagePage number to return, starting at 1. Omit for the first page.
startdateOnly return records changed on or after this UTC date-time (ISO 8601).
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Tractors - Get Performance Events › Responses
Performance events for the tractor, newest first.
DateTimeDate-time of the event (UTC).
MessageIDEvent identifier.
DriverIdDriver card identifier.
TruckNumberTractor card identifier.
VINNumberAlways null.
SerialNumberAlways null.
IdleThresholdRPMThresholdOverSpeedThresholdExcessSpeedThresholdStartOdometerEndOdometerEngineRunTimeDriveTimeMovingTimeOverRPMTimeOverRPMCountOverRPMMaxOverSpeedTimeOverSpeedCountOverSpeedMaxLongIdleTimeLongIdleCountLongIdleFuelUsedShortIdleTimeShortIdleCountShortIdleFuelUsedCurrentFuelStartFuelEndFuelPTOTimePTOFuelCruiseEventsCruiseTimeCruiseFuelCruiseDistanceTopGearTopGearTimeTopGearFuelTopGearDistanceGearDataSourceSeatBeltTimeBrakeEventsEngineLoadStoppedEngineLoadMovingFuelLevelTank1FuelLevelTank2HeadlightTimeSpeedSettingFilterStatusDEFLevelOverSpeedHighTimeOverSpeedLowTimeStartNGEndNGStartDieselEndDieselTractorTerminalIdAlways empty.
TractorOwnerOperatedAlways empty.
SpeedMaxValueHardAccelerationCountHarshCorneringCountAccelerationMaxValueDecelerationMaxValueSideAccelerationMaxValueLocations - Delete Location
Archive (delete) a location card by id.
path Parameters
partnercodePartner code of the company whose data this request reads or writes (its VIA company code, for example MIST). Your API key identifies your own company; the request succeeds only when the two companies have an approved, API-enabled partnership in the Partner Network. Use Get Active Partners to list the codes available to you.
idThe location card id
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Locations - Delete Location › Responses
Success
Locations - Disable Location Role
Disables the specified role on a partner location card. Warning: Removing a role permanently deletes all data associated with that role (role-specific address and contact fields, required attributes, hours of operation, billing settings, etc.). This action cannot be undone via the API.
path Parameters
partnercodePartner code of the company whose data this request reads or writes (its VIA company code, for example MIST). Your API key identifies your own company; the request succeeds only when the two companies have an approved, API-enabled partnership in the Partner Network. Use Get Active Partners to list the codes available to you.
idThe location card id
roleLocation role to disable
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Locations - Disable Location Role › Responses
Success
Trailers - Get by Id
Get a trailer by id
path Parameters
partnercodePartner code of the company whose data this request reads or writes (its VIA company code, for example MIST). Your API key identifies your own company; the request succeeds only when the two companies have an approved, API-enabled partnership in the Partner Network. Use Get Active Partners to list the codes available to you.
idThe trailer card id
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Trailers - Get by Id › Responses
The trailer. Keys the platform has no value for are omitted.
idtrailerIddataGUIDtrailerNumbertrailerModeltrailerMaketrailerOwnertrailerType1trailerType2trailerType3trailerType4trailerYeartrailerCompanyIdtrailerStatustrailerLastContactLattrailerLastContactLngtrailerLastContactProximitylastContactedDateTimetrailerLastContactCitytrailerLastContactStatetrailerLastContactCountrytrailerLastContactDirectionzone1SetPointzone1ReturnAirzone2SetPointzone2ReturnAirzone3SetPointzone3ReturnAirbatteryVoltagefuelLeveloperatingModemovingrefrigerationRunninglastUpdatedlicensePlateterminatedDatemobileCommIDodometertotalHoursdieselHourselectricHourslicenseStateterminalIdterminalNamezone1Dischargezone2Dischargezone3Dischargesensor1sensor2sensor3sensor4sensor5sensor6expirationDatemobileComStatusunitModezone1AuxiliaryTempzone2AuxiliaryTempzone3AuxiliaryTempzone1SupplyAirzone2SupplyAirzone3SupplyAirzone1OperatingModezone2OperatingModezone3OperatingModeambientTempreceivedDateTimedivisionfleetadditionalValuesMaintenance records for the trailer
Notes associated with the trailer
Trailers - Update Trailer
Update a trailer by id
path Parameters
partnercodePartner code of the company whose data this request reads or writes (its VIA company code, for example MIST). Your API key identifies your own company; the request succeeds only when the two companies have an approved, API-enabled partnership in the Partner Network. Use Get Active Partners to list the codes available to you.
idThe trailer card id
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Trailers - Update Trailer › Request Body optional
trailerIdtrailerNumbertrailerModeltrailerMaketrailerOwnertrailerType1trailerType2trailerType3trailerType4trailerYeartrailerCompanyIdtrailerStatustrailerLastContactLattrailerLastContactLngtrailerLastContactProximitylastContactedDateTimetrailerLastContactCitytrailerLastContactStatelicensePlatelicenseStateterminalIdMaintenance records for the trailer
Notes for the trailer; mapped inbound to TripNotes for the partner API
Trailers - Update Trailer › Responses
The updated trailer.
idtrailerIddataGUIDtrailerNumbertrailerModeltrailerMaketrailerOwnertrailerType1trailerType2trailerType3trailerType4trailerYeartrailerCompanyIdtrailerStatustrailerLastContactLattrailerLastContactLngtrailerLastContactProximitylastContactedDateTimetrailerLastContactCitytrailerLastContactStatetrailerLastContactCountrytrailerLastContactDirectionzone1SetPointzone1ReturnAirzone2SetPointzone2ReturnAirzone3SetPointzone3ReturnAirbatteryVoltagefuelLeveloperatingModemovingrefrigerationRunninglastUpdatedlicensePlateterminatedDatemobileCommIDodometertotalHoursdieselHourselectricHourslicenseStateterminalIdterminalNamezone1Dischargezone2Dischargezone3Dischargesensor1sensor2sensor3sensor4sensor5sensor6expirationDatemobileComStatusunitModezone1AuxiliaryTempzone2AuxiliaryTempzone3AuxiliaryTempzone1SupplyAirzone2SupplyAirzone3SupplyAirzone1OperatingModezone2OperatingModezone3OperatingModeambientTempreceivedDateTimedivisionfleetadditionalValuesMaintenance records for the trailer
Notes associated with the trailer
Trailers - Delete Trailer
Delete a trailer by id
path Parameters
partnercodePartner code of the company whose data this request reads or writes (its VIA company code, for example MIST). Your API key identifies your own company; the request succeeds only when the two companies have an approved, API-enabled partnership in the Partner Network. Use Get Active Partners to list the codes available to you.
idThe trailer card id
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Trailers - Delete Trailer › Responses
Success
Trailers - Get by Trailer Number
Get trailer by trailer number
path Parameters
partnercodePartner code of the company whose data this request reads or writes (its VIA company code, for example MIST). Your API key identifies your own company; the request succeeds only when the two companies have an approved, API-enabled partnership in the Partner Network. Use Get Active Partners to list the codes available to you.
trailerNumberTrailer number to look up.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Trailers - Get by Trailer Number › Responses
Trailers matching the number.
idtrailerIddataGUIDtrailerNumbertrailerModeltrailerMaketrailerOwnertrailerType1trailerType2trailerType3trailerType4trailerYeartrailerCompanyIdtrailerStatustrailerLastContactLattrailerLastContactLngtrailerLastContactProximitylastContactedDateTimetrailerLastContactCitytrailerLastContactStatetrailerLastContactCountrytrailerLastContactDirectionzone1SetPointzone1ReturnAirzone2SetPointzone2ReturnAirzone3SetPointzone3ReturnAirbatteryVoltagefuelLeveloperatingModemovingrefrigerationRunninglastUpdatedlicensePlateterminatedDatemobileCommIDodometertotalHoursdieselHourselectricHourslicenseStateterminalIdterminalNamezone1Dischargezone2Dischargezone3Dischargesensor1sensor2sensor3sensor4sensor5sensor6expirationDatemobileComStatusunitModezone1AuxiliaryTempzone2AuxiliaryTempzone3AuxiliaryTempzone1SupplyAirzone2SupplyAirzone3SupplyAirzone1OperatingModezone2OperatingModezone3OperatingModeambientTempreceivedDateTimedivisionfleetadditionalValuesMaintenance records for the trailer
Notes associated with the trailer
Trailers - Create Trailer
Create a trailer
path Parameters
partnercodePartner code of the company whose data this request reads or writes (its VIA company code, for example MIST). Your API key identifies your own company; the request succeeds only when the two companies have an approved, API-enabled partnership in the Partner Network. Use Get Active Partners to list the codes available to you.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Trailers - Create Trailer › Request Body optional
trailerIdtrailerNumbertrailerModeltrailerMaketrailerOwnertrailerType1trailerType2trailerType3trailerType4trailerYeartrailerCompanyIdtrailerStatustrailerLastContactLattrailerLastContactLngtrailerLastContactProximitylastContactedDateTimetrailerLastContactCitytrailerLastContactStatelicensePlatelicenseStateterminalIdMaintenance records for the trailer
Notes for the trailer; mapped inbound to TripNotes for the partner API
Trailers - Create Trailer › Responses
The created trailer card.
_idtitledescriptioncardtypelistIdboardIdcompanyIdThe partner company the card was created on.
Tractors - Get by Id
Get a tractor by id
path Parameters
partnercodePartner code of the company whose data this request reads or writes (its VIA company code, for example MIST). Your API key identifies your own company; the request succeeds only when the two companies have an approved, API-enabled partnership in the Partner Network. Use Get Active Partners to list the codes available to you.
idThe tractor card id
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Tractors - Get by Id › Responses
The tractor. Keys the platform has no value for are omitted.
idtractorNumberdataGUIDtractorTypetractorType1tractorType2tractorType3tractorType4lastContactCitylastContactStatelastContactZipCodelastContactLatitudelastContactLongitudelastContactDatelastContactTimetractorLastContactProximitylastContactDateTimeetaCityetaStateetaZipCodeetaLatitudeetaLongitudeetaDateetaTimeetaDateTimelicensePlateserialNumbervehicleGroupIdlastContactProximityDescriptionterminatedDateterminalIdtractorMaketractorModeltractorYeartractorStatusmobileCommIDodometertotalHoursalternateIdcurrentDriverIdlastMessageTimestampdieselHourselectricHourslicenseStateterminalNameexpirationDateMaintenance records for the tractor
Notes associated with the tractor
Tractors - Update Tractor
Update a tractor by id
path Parameters
partnercodePartner code of the company whose data this request reads or writes (its VIA company code, for example MIST). Your API key identifies your own company; the request succeeds only when the two companies have an approved, API-enabled partnership in the Partner Network. Use Get Active Partners to list the codes available to you.
idThe tractor card id
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Tractors - Update Tractor › Request Body optional
tractorNumbertractorType1tractorType2tractorType3tractorType4tractorStatustractorMaketractorModeltractorYearlicensePlateserialNumberlastContactDateTimelastContactCitylastContactStatetractorLastContactProximitylicenseStatemobileCommIDodometerMaintenance items mapped to VIA; each object uses keys accepted by the inbound maintenance mapper (camelCase; PascalCase alts in code for id/created/name/due*).
Notes for the tractor
Tractors - Update Tractor › Responses
The updated tractor.
idtractorNumberdataGUIDtractorTypetractorType1tractorType2tractorType3tractorType4lastContactCitylastContactStatelastContactZipCodelastContactLatitudelastContactLongitudelastContactDatelastContactTimetractorLastContactProximitylastContactDateTimeetaCityetaStateetaZipCodeetaLatitudeetaLongitudeetaDateetaTimeetaDateTimelicensePlateserialNumbervehicleGroupIdlastContactProximityDescriptionterminatedDateterminalIdtractorMaketractorModeltractorYeartractorStatusmobileCommIDodometertotalHoursalternateIdcurrentDriverIdlastMessageTimestampdieselHourselectricHourslicenseStateterminalNameexpirationDateMaintenance records for the tractor
Notes associated with the tractor
Tractors - Delete Tractor
Delete a tractor by id
path Parameters
partnercodePartner code of the company whose data this request reads or writes (its VIA company code, for example MIST). Your API key identifies your own company; the request succeeds only when the two companies have an approved, API-enabled partnership in the Partner Network. Use Get Active Partners to list the codes available to you.
idThe tractor card id
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Tractors - Delete Tractor › Responses
Success
Tractors - Get by Tractor Number
Get tractor by tractor number
path Parameters
partnercodePartner code of the company whose data this request reads or writes (its VIA company code, for example MIST). Your API key identifies your own company; the request succeeds only when the two companies have an approved, API-enabled partnership in the Partner Network. Use Get Active Partners to list the codes available to you.
tractorNumberTractor number to look up.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Tractors - Get by Tractor Number › Responses
Tractors matching the number.
idtractorNumberdataGUIDtractorTypetractorType1tractorType2tractorType3tractorType4lastContactCitylastContactStatelastContactZipCodelastContactLatitudelastContactLongitudelastContactDatelastContactTimetractorLastContactProximitylastContactDateTimeetaCityetaStateetaZipCodeetaLatitudeetaLongitudeetaDateetaTimeetaDateTimelicensePlateserialNumbervehicleGroupIdlastContactProximityDescriptionterminatedDateterminalIdtractorMaketractorModeltractorYeartractorStatusmobileCommIDodometertotalHoursalternateIdcurrentDriverIdlastMessageTimestampdieselHourselectricHourslicenseStateterminalNameexpirationDateMaintenance records for the tractor
Notes associated with the tractor
Carriers - Get Carriers
Get a list of active carriers for a specific partner.
path Parameters
partnercodePartner code of the company whose data this request reads or writes (its VIA company code, for example MIST). Your API key identifies your own company; the request succeeds only when the two companies have an approved, API-enabled partnership in the Partner Network. Use Get Active Partners to list the codes available to you.
query Parameters
pagePage number to return, starting at 1. Omit for the first page.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Carriers - Get Carriers › Responses
Carriers for the partner, 100 per page.
IDCarrier card identifier; use it as carrierid.
CarrierIdCarrier code in the partner's system.
CarrierNameDataGUIDScacAddress1Address2CityStateZipCodeCountryCocdeCountry code (historical field name).
ContactPrimaryPhoneSecondaryPhoneFaxEmailMCNumberDotNumberStatusCarriers - Get Carrier
Get a specific carrier's details for a given partner.
path Parameters
partnercodePartner code of the company whose data this request reads or writes (its VIA company code, for example MIST). Your API key identifies your own company; the request succeeds only when the two companies have an approved, API-enabled partnership in the Partner Network. Use Get Active Partners to list the codes available to you.
carrieridCarrier identifier as returned by Get Carriers.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Carriers - Get Carrier › Responses
The carrier. Keys the platform has no value for are omitted.
idcompanyintegrationIdcarrierIddataGUIDcarrierNamescacaddress1address2citystatezipCodecountryCodeprimaryPhonesecondaryPhonefaxfedIdmcNumberdotNumbercontactlastUpdatedstatuscarrierType1carrierType2carrierType3carrierType4misc1misc2misc3misc4emailcurrencyalternateId