AlphaAlpha Docs

Find by id in current tenant

GET
/vehicles/find/{id}
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/vehicles/find/string"
{
  "averageFuelConsumption": 0.1,
  "brand": "string",
  "capacity": {
    "height": 0.1,
    "length": 0.1,
    "seats": 0,
    "weight": 0.1,
    "width": 0.1
  },
  "color": "string",
  "costOverDistanceDriven": 0.1,
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "currencyUnit": "string",
  "fuelHistory": [
    {
      "amount": 0.1,
      "date": "2019-08-24T14:15:22Z",
      "fuelConsumption": 0.1,
      "id": "string",
      "mileage": 0.1,
      "price": 0.1,
      "user": "string"
    }
  ],
  "fuelType": "PETROL",
  "id": "string",
  "licensePlate": "string",
  "location": {
    "address": {
      "city": "string",
      "country": "string",
      "houseNumber": "string",
      "id": "string",
      "latitude": 0.1,
      "longitude": 0.1,
      "postalCode": "string",
      "street": "string"
    },
    "coordinate": {
      "latitude": -90,
      "longitude": -180
    },
    "name": "string"
  },
  "locationHistory": [
    {
      "date": "2019-08-24T14:15:22Z",
      "id": "string",
      "location": {
        "address": {
          "city": "string",
          "country": "string",
          "houseNumber": "string",
          "id": "string",
          "latitude": 0.1,
          "longitude": 0.1,
          "postalCode": "string",
          "street": "string"
        },
        "coordinate": {
          "latitude": -90,
          "longitude": -180
        },
        "name": "string"
      }
    }
  ],
  "mileage": 0,
  "mileageUnit": "KM",
  "model": "string",
  "tenantId": "string",
  "type": "CAR",
  "updated": "2019-08-24T14:15:22Z",
  "updatedBy": "string",
  "vin": "string",
  "year": 0
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}