Retrieve information for all assets of a specific fleet.

GET {{baseUrl}}/v1/fleets/:fleetId/assets?fields=

Retrieve information for all assets of a specific fleet. Access to assets depends on the permission scope of your Railigent X credentials.

Request Params

KeyDatatypeRequiredDescription
fieldsnullOptional 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

KeyDatatypeRequiredDescription
Acceptstring

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"}}},{"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"}}}]}