Repository navigation
Asset Tracking REST API
Some fields in this API, marked in red below, are deprecated and will eventually be removed. If you are using these fields, please update your application to retrieve this data from the new Asset Tracking REST APIs, which are documented here:
Some additional tags API documentation can be found at https://edit.meridianapps.com/docs#tag/api
Meridian provides both Rest APIs and Streaming APIs. The Streaming APIs are designed for real-time data needs and the Rest APIs are designed from static data needs. For example, if you need to know the current location of your Tags, this would be a good use of the Streaming APIs. And if you need a list of all Tags to sync with an internal inventory record on a daily or hourly basis, this would be a good use of the Rest APIs.
WARNING: It is highly recommended that you do not use the Rest API for real-time data needs as this volume of traffic can cause the service performance to degrade. Calling the Rest APIs every second to determine the location of Tags may result in your usage being throttled or blocked to protect the overall performance of the system.
The asset-beacons endpoint can be used to get information about tags that have been deployed to a location or to upload an image to a Tag.
/api/locations/{location_id}/asset-beacons
This endpoint will return BLE Tag information without current position.
[TABLE]
You can use the asset-beacons endpoint to get the location of a specific Tag.
BLE Tags aren’t tracked in real-time. The API isn’t intended for this purpose.
/api/locations/{location ID}/asset-beacons/{MAC address}
The response to a single Tag is the same as the response for all tags with these properties structured as a dictionary (each level represented with a greater than):
[TABLE]
You can use the asset-beacons endpoint to upload, replace, or delete an image for a specific BLE Tag.
/api/locations/{location ID}/asset-beacons/{MAC}/image
Use PUT to upload or replace an image. Use DELETE to remove an image. Use GET to grab a Tag’s image.
BLE Tag labels are collected in the tag_ids field.
The
tag_idsfield is an array of unique label identifiers. Thetagsfield contains ids and label names.
Learn more about using Labels in the Asset Tag Label API article.
Use POST to create a new Tag.
The required values are
nameandmac. Theexternal_idvalue is optional.
External ID is used to relate a Tag to a non-Meridian resource, such as an inventory database.
/api/locations/{location ID}/asset-beacons
Use DELETE to remove a Tag from your location.
/api/locations/{location ID}/asset_beacons/{MAC}