---
title: "Last position identified"
method: GET
path: "/fleets/{fid}/vehicles/{vid}/lastPosition"
tags: ["Vehicles"]
deprecated: true
---

# Last position identified

`GET /fleets/{fid}/vehicles/{vid}/lastPosition`

## Request

- Base URL: `https://api-cert.groupe-psa.com/connectedcar/v3`
- URL: `https://api-cert.groupe-psa.com/connectedcar/v3/fleets/{fid}/vehicles/{vid}/lastPosition`
- Auth: HTTP basic and API key in query parameter `client_id`
- TypeScript: <https://skmtc.dev/groupe-psa/apis/groupe-psa-connected-car-b2b-api/docs/fleets/:fid/vehicles/:vid/lastPosition/get.ts> (a function with typed inputs; its response is checked against the schema)

> **Deprecated.**

Returns the latest GPS Position of the Vehicle.

## Path parameters

- `fid` string, required
- `vid` string, required

## Query parameters

- `profile` 'fleet' | 'endUser'

## Response `200`

Position response

- Position
  - `type` 'Feature', required
  - `geometry` Point, required: This object expresses a GeoJSON Point as specified by [rfc7946](https://tools.ietf.org/html/rfc7946#section-3.1.2).
    - `coordinates` number[], required: This is a simple 2 (or more) numbers vector used to define Geometry Point objects.
    - `type` 'Point', required
  - `properties` object, required
    - `createdAt` string, date-time, required: Date when the resource has been created.
    - `vin` string: Identifier of a vehicle. **Set when retrieving resource in batch mode**.
    - `heading` integer: Course angle expressed in degree.
    - `signalQuality` integer
    - `type` 'Estimated' | 'Acquire'
    - `fixStatus` '2D' | '3D': Fix status information is only returned when position type is set to Acquire. Horizontal & altitude position can be determined in 3D fix status mode where it is only horizontal position in 2D mode.

## Other responses

- `default` (unresolved $ref)

---

[API](https://skmtc.dev/groupe-psa/apis/groupe-psa-connected-car-b2b-api.md) - [All operations](https://skmtc.dev/groupe-psa/apis/groupe-psa-connected-car-b2b-api/llms.txt) - [OpenAPI document](https://skmtc.dev/groupe-psa/apis/groupe-psa-connected-car-b2b-api/revisions/023ff3e3fe51?raw)
