mGetLastMeasuredAt #
Retrieves the date of the last measure of multiple assets.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/_/device-manager/:engineId/assets/_mGetLastMeasuredAt
Method: POST
Other protocols #
{
"controller": "device-manager/assets",
"action": "mGetLastMeasuredAt",
"engineId": "<engineId>",
"body": {
"ids": ["<assetId>", "<anotherAssetId>"]
}
}
Arguments #
engineId
: engine id
Body properties #
ids
: an array of asset identifiers
Response #
{
"status": 200,
"error": null,
"controller": "device-manager/assets",
"action": "mGetLastMeasuredAt",
"requestId": "<unique request identifier>",
"result": {
"<assetId>": 42,
"<anotherAssetId>": 1337
}
}
Edit this page on Github(opens new window)