Operations a customer or shipper performs with a partner: orders, quotes, locations, documents and tracking.
Orders - Get Orders
Get a list of orders (trip) 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.
refNumberFilter orders by exact reference number match. The reference number must match exactly (case-sensitive).
orderNumberFilter orders by exact order number match. The order number must match exactly (case-sensitive).
statusFilter orders by exact status match. The status must match exactly (case-sensitive).
billToFilter orders by bill-to customer code. The Customer ID must match exactly (case-sensitive).
sortOptional sort for order results. Default is by Order 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.
Orders - Get Orders › Responses
Orders for the partner, newest activity first, 100 per page.
IDOrder identifier. Use it as orderid on Get Order Detail, Update Order Booking and Cancel Order Booking.
TripIdOrder number.
CompanyAlways empty.
CarrierAlways empty.
CarrierNameAlways empty.
ProNumberAlways empty.
BookedDateDate-time the order was created.
TripStatusOrder status.
BillToIdentifier of the bill-to company.
LastUpdatedDate-time of the last activity on the order.
OriginEarliestOriginLatestOriginCityOriginStateOriginRegionOrigin country.
DestinationEarliestDestinationLatestDestinationCityDestinationStateDestinationRegionDestination country.
Driver1Primary driver name.
Driver2Always null.
TractorTractor number.
TrailerAlways null.
NextEventDateTimeNextEventDateFlagOriginZipCodeDestinationZipCodePercentCompletedStopsCompletedTotalStopsProximityDescriptionLast known position as text, when tracking is available.
ProximityLatitudeProximityLongitudeOriginCompanyIdOriginCompanyNameDestinationCompanyIdDestinationCompanyNameDriver1NameDriver2NameOrders - Create Order Booking
Create (book) a new transportation order with a partner. This endpoint allows customers to book orders that will be made available to carriers in the partner network. The order must include at least two stops (pickup or delivery location) with required location information. Optional freight details, reference numbers, and special instructions can be included to provide complete order information. X
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.
Orders - Create Order Booking › Request Body
Array of stops (pickup and delivery locations)
OrderNumberUnique order number for tracking
EquipmentSelectionEquipment type abbreviation for the order
ServiceTypeService type abbreviation for the order
Driver1Primary driver name for brokered carrier
Driver2Secondary driver name for brokered carrier
DriverPhoneDriver phone number for brokered carrier
TractorTractor identifier for brokered carrier
TrailerTrailer identifier for brokered carrier
Details about the freight being transported
Reference numbers (BOL, PRO, etc.)
BillToCompanyIdCompany ID for billing
specialInstructionsSpecial handling instructions
Orders - Create Order Booking › Responses
Order successfully created
statusResult status
messsageHuman-readable result message
objectIdUnique identifier for the created order card
orderIdUnique identifier for the created order (same value as objectId)
orderGuidGUID identifier for the order
orderNumberOrder number
createdAtTimestamp when order was created
warningsPermission or field warnings when the order was created with partial field updates
Locations - Get Locations
Get a paginated list of location cards for a partner. Optionally filter by companyId (case-sensitive).
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.
companyIdFilter by companyId (case-sensitive). Omit or leave blank for no filter.
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 - Get Locations › Responses
Locations retrieved successfully
statusResult status
pageCurrent page number
pageSizeNumber of locations returned per page
totalCountTotal number of matching locations
Location cards for the current page
Locations - Create Location
Create a new location card for a partner. Optional role-specific data may be supplied under Roles (Shipper, Consignee, BillTo, Terminal, TruckStop, Agent, WashFacility). Partner-network role permissions determine which fields may be set on the created card.
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.
Locations - Create Location › Request Body
titleboardIdlistIddescriptionCompanyIdCompanyNameContactAddress1Address2CityStateZipCodePrimaryPhoneSecondaryPhoneFaxEmailLatitudeLongitudeExternalIdLocations - Create Location › Responses
Location successfully created
statusResult status when present
_idLocation card identifier
locationIdLocation card identifier (207 partial-success responses)
boardIdcardtypewarningsPermission warnings when some requested fields were not set
Orders - Get Order Detail
Get details of a specific order.
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.
orderidOrder identifier as returned by Get Orders or Create Order Booking.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Orders - Get Order Detail › Responses
The order as a one-element array of stored card documents (empty array when the id is unknown).
_idCard identifier.
Orders - Update Order Booking
Update an existing transportation order for a partner. Nested stop, reference, and freight updates require the _id or DataGUID values from the existing order. Partner-network role permissions determine which fields may be updated.
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.
orderidOrder identifier as returned by Get Orders or Create Order Booking.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Orders - Update Order Booking › Request Body
EquipmentSelectionServiceTypeDriver1Driver2DriverPhoneTractorTrailerOrders - Update Order Booking › Responses
Order successfully updated
statusResult status
warningsPermission warnings when some requested fields were not updated
Orders - Cancel Order Booking
Cancel an order booking and remove it from the system.
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.
orderidOrder identifier as returned by Get Orders or Create Order Booking.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Orders - Cancel Order Booking › Responses
Order booking cancelled (archived).
Quotes - Create Order Quote
Create a quote for a tentative or pending shipment.
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.
Quotes - Create Order Quote › Responses
The created quote.
Orders - Get Order Documents
Get Documents and Images for a specific order.
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.
orderidOrder identifier as returned by Get Orders or Create Order Booking.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Orders - Get Order Documents › Responses
Documents attached to the order that your partner role may see.
namedocumentTypeAbbrDocument type code, for example BOL or POD.
Quotes - Get Quote Details
Get Quote details by Quote 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.
quoteidQuote identifier as returned by Create Order Quote.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Quotes - Get Quote Details › Responses
The quote.
Orders - Get GPS Positions
Get GPS tracking history for a given order
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.
orderguidOrder identifier as returned by Get Orders or Create Order Booking.
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.
Orders - Get GPS Positions › Responses
Positions recorded for the order's load.
Newest positions, at most 100 per call.
moreAvailableTrue when more positions exist than were returned; narrow the time window to see them.
Locations - Update Location
Update a location card by id. Optional role-specific data may be supplied under Roles (Shipper, Consignee, BillTo, Terminal, TruckStop, Agent, WashFacility). Partner-network role permissions determine which fields may be updated.
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 - Update Location › Request Body
boardIdlistIdtitledescriptionCompanyIdCompanyNameContactAddress1Address2CityStateZipCodePrimaryPhoneSecondaryPhoneFaxEmailLatitudeLongitudeExternalIdLocations - Update Location › Responses
Location successfully updated
status