v1
latestOpenAPI 3.1.02026-07-2617501.1 MBList all the nearby vehicles (v2)
get/v2/freight_visibility/vehicle_association
Query parameters
company_idinteger
Specify the ID of the company as assigned by Motive.
dot_idinteger
Specify the ID provided by the Department of Transportation, if you do not have the company_id.
latnumber float
Specify the latitude of the location from where you want to check the nearby available vehicles.
lonnumber float
Specify the longitude of the location from where you are checking the nearby vehicles for service.
expected_timestring date
Specify the expected arrival time at the location.
Response
200
Example response
{
"pagination": {
"per_page": 100,
"page_no": 1,
"total": 4
},
"data": {
"company_id": "KT7711525",
"dot_ids": [
"fn9wckg0ig"
],
"integration_status": "enabled",
"vehicle_details": [
{
"vehicle_id": "1743",
"vehicle_name": "vehicle_a",
"trailer_id": "happy camper",
"driver": {
"id": 3280,
"first_name": "Haleigh",
"last_name": "Dibbert"
},
"located_at": "2020-04-07T18:50:27Z",
"description": "current location - 109.24 miles from San Francisco, CA",
"distance_origin": {
"value": 109.24,
"unit": "mi"
},
"matching_score": 0.7
}
]
}
}