Retrieve information for a specific asset of a specific fleet.
GET {{baseUrl}}/v1/fleets/:fleetId/assets/:assetId?fields=
Retrieve information for all assets of a specific fleet. Access to an asset depends on the permission scope of your Railigent X credentials.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
fields | null | Optional filter expression for limiting the output to relevant features only. Use an empty string to explicitly retrieve all features of an asset or a comma-separated list of path specifications to select individual features. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"data":{"id":"class999_9990042","features":{"gps":{"timestamp":1712138521755,"value":{"latitude":47.13250212,"longitude":17.29790506}},"mileage":{"timestamp":1712138521755,"value":246441.4},"speed":{"timestamp":1712138521755,"value":132.6},"trip":{"timestamp":1712138521755,"value":{"tripId":"41483"}},"uic":{"value":"928012184554"}}}}