Skip to main content
POST
/
sensor-data
/
gnss
/
latest
Fetch latest GNSS sensor data
curl --request POST \
  --url https://api.beta.ontoto.com/sensor-data/gnss/latest \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "deviceSerialNumbers": [
    "<string>"
  ],
  "legacyDeviceIds": [
    0
  ]
}
'
{
  "items": [
    {
      "deviceSerialNumber": "<string>",
      "deviceAlias": "<string>",
      "legacyDeviceId": 0,
      "sensorUuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "sensorAlias": "<string>",
      "channelIndex": 123,
      "sensorStatus": "ok",
      "srid": 123,
      "projectionMetadata": [
        {
          "id": 123,
          "label": "<string>",
          "verticalDatum": "<string>",
          "heightType": "ellipsoidal",
          "projectionType": "<string>",
          "srid": 123
        }
      ],
      "data": [
        {
          "id": 123,
          "timestamp": "2023-11-07T05:31:56Z",
          "lat": 123,
          "lon": 123,
          "eh": 123,
          "oh": 123,
          "quality": {
            "sdn": 123,
            "sde": 123,
            "sdu": 123,
            "q": 123,
            "ns": 123,
            "ar": 123
          },
          "roll": 123,
          "pitch": 123,
          "dE": 123,
          "dN": 123,
          "dU": 123,
          "d2d": 123,
          "d3d": 123,
          "vE": 123,
          "vN": 123,
          "vU": 123,
          "proj": {},
          "debug": {
            "ps": "completed",
            "gw": 123,
            "gd": 123,
            "gt": 123,
            "err": "<string>",
            "at": "2023-11-07T05:31:56Z",
            "log": "<string>"
          }
        }
      ]
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.beta.ontoto.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
required

Body

application/json

Request body for querying latest GNSS sensor data

deviceSerialNumbers
string[]

Array of device serial numbers

legacyDeviceIds
integer[]

Array of legacy device IDs

Required range: -9007199254740991 <= x <= 9007199254740991

Response

Successful response

Response body for querying GNSS sensor data

items
object[]
required