Skip to content

Latest commit

 

History

History
106 lines (89 loc) · 2.81 KB

File metadata and controls

106 lines (89 loc) · 2.81 KB

Aruba Meridian Asset Tracking API Node

This node provides access to Meridian's Asset Tracking tag details using the Meridian Asset Tracking API.

Input Configuration

  • Authentication Token: Your Meridian API authentication token.
  • Location ID: The location ID for the tags you'd like to retrieve information about.
  • Asset MAC Address: The MAC address of an individual tag. Optional. If left blank, the result will include all assets in the specified location, up to 1,000.

Output Result

The result of all successful requests will include body, headers, and statusCode fields. The body object contains the response data.

If the Asset MAC Address field is left blank, the response will include an array of up to 1,000 assets at the specified Location ID.

{
  "body": {
    "results": [
        {
        "tags": [],
        "battery_level": 78,
        "is_control_tag": null,
        "id": "xxxxxxx",
        "control_y": null,
        "control_x": null,
        "image_url": null,
        "location": "xxxxxxx",
        "tag_ids": [],
        "mac": "xxxxxxx",
        "external_id": null,
        "name": "QT8",
        "created": "2017-10-24T17:19:16Z",
        "modified": "2018-08-02T20:16:27Z"
        },
        {  },
        {  }
    ],
  },
  "headers": {  },
  "statusCode": 200 
}

If an Asset MAC Address is provided, the response will include the details of the specific asset.

{
  "body": {
    "map": {  },
    "calculations": {  },
    "hw_type": null,
    "tags": [],
    "battery_level": 73,
    "is_control_tag": 1916.5103642988422,
    "id": "CC78ABA442E4",
    "control_y": 1916.5103642988422,
    "control_x": 5403.906545774522,
    "image_url": null,
    "location": "5198682008846336",
    "tag_ids": [],
    "mac": "CC78ABA442E4",
    "external_id": null,
    "name": "MER-StinsonBeach",
    "created": "2017-10-06T20:11:22Z",
    "modified": "2018-08-02T21:36:22Z"
  },
  "headers": {  },
  "statusCode": 200
}

If the request is successfully made, but Meridian's API returns an error, check the statusCode and body fields for additional details.

{
  "body": {
    "detail": "Invalid token"
  },
  "headers": {  },
  "statusCode": 401
}

If the request to Meridian's API fails, the output will contain an error object with additional details.

{
  "error": {
    "message": "Cannot resolve host: edit.meridianapps.com",
  }
} 

Version History

Version Date Description
v1.0.0 8/3/2018 Initial release.

This node is developed and maintained by Losant. Please place issues, comments, or questions on the Losant Forums.

Copyright © 2018 Losant IoT, Inc

https://www.losant.com