Get location
GET/v1/locations/:assetId
This API request can be used to get location for specific asset by asset ID in GeoJSON format. Api returns single Feature and Geometry type is always Point.
Point geometry always includes two coordinates: longitude and latitude, optionally third, the altitude in meters (not available for Bluetooth tag assets).
To be able to call the service a valid token is required. To get a token follow this guide: How to obtain a token
Rate & Size Limiting: One request per second for specific asset id and user.
Via the Public GraphQL API, you can utilize query capabilities to fetch 'location' data together with other asset data in one API call. Explore the GraphQL schema through our GraphQL Explorer. Follow the 'asset' subgraph and select 'locations'. Learn more about the IrisX subscription.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Get location for specific Asset by Asset id in GeoJSON format. Api returns a single Feature and Geometry type is always Point.
Bad request
Invalid or missing bearer token in Authorization header
User not allowed to make this request
Resource not found
Internal server error