GET
/locations/by-truck/{id} Get Location by Truck
Returns the most recent LocationDTO for the given truck id, including the embedded truck and read-only driver.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id * | path | integer | The truck id.
e.g. 1 |
Response
Status: Stable. Try the request in the panel on the right to see a live response.