---
title: "Retrieve Location Entry"
method: GET
path: "/equipment/{equipment_id}/location_entries/{id}"
tags: ["Location Entries"]
---

# Retrieve Location Entry

`GET /equipment/{equipment_id}/location_entries/{id}`

## Request

- Base URL: `https://secure.fleetio.com/api`
- URL: `https://secure.fleetio.com/api/equipment/{equipment_id}/location_entries/{id}`
- Auth: API key in header `Authorization` and API key in header `Account-Token`
- TypeScript: <https://skmtc.dev/fleetio/apis/fleetio-developer-api/docs/equipment/:equipment_id/location_entries/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve the details of a LocationEntry.

## Path parameters

- `equipment_id` string, required
- `id` string, required

## Response `200`

OK

- LocationEntry: A Location Entry
  - `id` integer
  - `created_at` string, date-time: The date and time at which this record was created.
  - `updated_at` string, date-time: The date and time at which this record was most recently updated.
  - `date` string, date-time, required: The date and time at which this Location Entry was recorded.
  - `vehicle_id` integer
  - `item_type` 'Vehicle' | 'Equipment', required: The type of object that this Location Entry is associated with.
  - `item_id` integer, nullable, required
  - `locatable_type` 'FuelEntry' | 'ServiceEntry' | 'SubmittedInspectionForm', nullable, required: The type of object that triggered the creation of this Location Entry, if applicable.
  - `locatable_id` integer, nullable, required
  - `contact_id` integer, nullable, required
  - `address` string, nullable, required: The full address where this Location Entry took place.
  - `address_components` AddressComponents, nullable, required
    - `street_number` string: The street number in the address.
    - `street` string: The street name in the address.
    - `city` string: The city in the address.
    - `region` string: The region, state or province in the address.
    - `region_short` string: The abbreviated region, state or province code.
    - `country` string: The country in the address.
    - `country_short` string: The abbreviated country code.
    - `postal_code` string: The postal code, ZIP, or equivalent in the address.
  - `is_current` boolean, required: Indicates whether this Location Entry is the most recent one for this object.
  - `location` string, required: A string representation of the recorded location.
  - `geolocation` object, required: The coordinates of the recorded location.
    - `latitude` number
    - `longitude` number

## Other responses

- `401`: Request could not be authenticated
- `403`: Insufficient permission to perform this operation
- `404`: The requested resource could not be located
- `500`: Something unexpected happened

---

[API](https://skmtc.dev/fleetio/apis/fleetio-developer-api.md) - [All operations](https://skmtc.dev/fleetio/apis/fleetio-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fleetio/apis/fleetio-developer-api/revisions/49558d744bd7?raw)
