Use this POST call to get ETA of all vehicles that are terminating their route within the radius. Search can be enhanced with the type of truck, radius size from the given location and a termination time window.
availableVehiclesQuery
OK
Invalid request
Invalid or missing credentials
User not authorized to perform this operation
{- "address": {
- "postalCode": "string",
- "addressLines": [
- "str"
], - "city": "string",
- "state": "string",
- "country": "US"
}, - "geoCoordinates": {
- "latitude": -90,
- "longitude": -180
}, - "includeMyShipments": true,
- "radius": 0,
- "radiusUnit": "FT",
- "sharingPool": "string",
- "timeRange": {
- "startDateTime": "2019-08-24T14:15:22Z",
- "endDateTime": "2019-08-24T14:15:22Z"
}, - "truckType": "AUTO_CARRIER"
}
{- "paginationInfo": {
- "total": 0,
- "pageSize": 0,
- "pageNumber": 0
}, - "results": [
- {
- "terminatingCapacity": {
- "carrierContact": {
- "companyName": "string",
- "contactName": "string",
- "phoneNumber": "string",
- "phoneNumberCountryCode": "string",
- "phoneNumber2": "string",
- "phoneNumber2CountryCode": "string",
- "email": "string",
- "faxNumber": "string",
- "faxNumberCountryCode": "string"
}, - "carrierIdentifier": {
- "type": "SCAC",
- "value": "string"
}, - "carrierIdentifiers": [
- {
- "type": "SCAC",
- "value": "string"
}
], - "distance": 0,
- "distanceUnit": "FT",
- "equipmentIdentifiers": [
- {
- "shouldDelete": true,
- "type": "MOBILE_PHONE_NUMBER",
- "value": "string"
}
], - "estimatedArrivalDateTime": "string",
- "truckType": "AUTO_CARRIER"
}
}
]
}