---
title: "Get last GCS position"
method: GET
path: "/orgmng/gcs/{serialNumber}/last-position"
tags: ["Ground Control Station"]
---

# Get last GCS position

`GET /orgmng/gcs/{serialNumber}/last-position`

## Request

- Base URL: `http://localhost:8486`
- URL: `http://localhost:8486/orgmng/gcs/{serialNumber}/last-position`
- Auth: API key in header `x-auth-token`

Retrieves the last known position of a ground control station by its remote controller serial number

## Path parameters

- `serialNumber` string, required

## Response `200`

GCS position found

- GcsPositionDTO: Ground Control Station position data
  - `lat` number, double: Latitude of the GCS position
  - `lng` number, double: Longitude of the GCS position
  - `alt` number, float: Altitude of the GCS position
  - `accuracyH` string: Horizontal accuracy of the position
  - `accuracyV` string: Vertical accuracy of the position
  - `pressureAltitude` number, float: Pressure altitude
  - `heightAboveTakeoff` number, float: Height above takeoff point
  - `heightAboveGroundLevel` number, float: Height above ground level
  - `timestamp` string: Timestamp of the position
  - `timestampAccuracy` number, float: Accuracy of the timestamp
  - `status` 'ONLINE' | 'OFFLINE'
  - `pilotDetails` IdNameTupleDTO
    - `id` integer
    - `name` string

## Other responses

- `404`: GCS position not found
- `500`: Internal server error

---

[API](https://skmtc.dev/airdodge/apis/api-core.md) - [All operations](https://skmtc.dev/airdodge/apis/api-core/llms.txt) - [OpenAPI document](https://skmtc.dev/airdodge/apis/api-core/revisions/fb3c5a1055cc?raw)
