GET apioauth/matrixv2/services/{serviceId}/latesttelemetry
Get the latest telemetry for a service
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
serviceId |
The id of the service to query |
unsigned integer |
Required |
Body Parameters
None.
Response Information
Resource Description
A TelemetryResponse
TelemetryResponseName | Description | Type | Additional information |
---|---|---|---|
ServiceId |
The id of the service |
integer |
None. |
Latitude |
The latitude in decimal degrees |
decimal number |
None. |
Longitude |
The longitude in decimal degrees |
decimal number |
None. |
Street |
The street where the position is located |
string |
None. |
Town |
The town where the position is located |
string |
None. |
Country |
The country where the position is located |
string |
None. |
Postcode |
The postcode where the position is located |
string |
None. |
Timestamp |
The position timestamp in UTC |
date |
None. |
Speed |
The speed in metres per second |
decimal number |
None. |
Heading |
The heading in degrees |
decimal number |
None. |
Links |
Any links to other entities |
Collection of Link |
None. |
Response Formats
application/json, text/json
Sample:
{ "ServiceId": 1, "Latitude": 2.1, "Longitude": 3.1, "Street": "sample string 4", "Town": "sample string 5", "Country": "sample string 6", "Postcode": "sample string 7", "Timestamp": "2025-04-27T16:27:28.2099681+00:00", "Speed": 9.1, "Heading": 10.1, "Links": [ { "Href": "sample string 1", "Rel": "sample string 2" }, { "Href": "sample string 1", "Rel": "sample string 2" } ] }
application/xml, text/xml
Sample:
<TelemetryResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ServiceId>1</ServiceId> <Latitude>2.1</Latitude> <Longitude>3.1</Longitude> <Street>sample string 4</Street> <Town>sample string 5</Town> <Country>sample string 6</Country> <Postcode>sample string 7</Postcode> <Timestamp>2025-04-27T16:27:28.2099681+00:00</Timestamp> <Speed>9.1</Speed> <Heading>10.1</Heading> <Links> <Link> <Href>sample string 1</Href> <Rel>sample string 2</Rel> </Link> <Link> <Href>sample string 1</Href> <Rel>sample string 2</Rel> </Link> </Links> </TelemetryResponse>