Latest reading per axis under a node
const url = 'https://api.eianalytic.com/ApiWeb.svc/GetCurrentMeasures';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"companyID":1,"areaID":1,"machineCode":1,"pointIndex":1,"axis":1,"Token":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.eianalytic.com/ApiWeb.svc/GetCurrentMeasures \ --header 'Content-Type: application/json' \ --data '{ "companyID": 1, "areaID": 1, "machineCode": 1, "pointIndex": 1, "axis": 1, "Token": "example" }'Pass -1 in a level to leave it unfiltered.
Request Bodyrequired
Section titled “Request Bodyrequired”object
The database token returned by Login. Sent in the request body, not
in a header.
Examplegenerated
{ "companyID": 1, "areaID": 1, "machineCode": 1, "pointIndex": 1, "axis": 1, "Token": "example"}Responses
Section titled “Responses”Latest readings, nested machine → point → axis.
object
The Key half of every response envelope.
object
0 means OK. See the Conventions page for the full table.
Present on some responses; empty in the documented examples.
object
object
object
object
One processed reading for an axis.
object
Identifies the stored measurement; feed it to GetFFT_Base64.
Why the measurement was taken. See the Reason table.
Unit of AccelRMS, typically G. Always a string, but either the readable label ("G", from GetHistoryMeasures) or the SignalTypeOut code as a string ("0", from GetCurrentMeasures). Both mean the same thing — see the Conventions page.
Unit of VelRMS, typically mm/s. Always a string, but either the readable label ("mm/s", from GetHistoryMeasures) or the SignalTypeOut code as a string ("2", from GetCurrentMeasures). Both mean the same thing — see the Conventions page.
Unit of EnvRMS, typically GE. Always a string, but either the readable label ("GE", from GetHistoryMeasures) or the SignalTypeOut code as a string ("6", from GetCurrentMeasures). Both mean the same thing — see the Conventions page.
Example
[ { "Key": { "StatusNumber": 0, "Description": "OK" }, "Value": [ { "pointList": [ { "axis": [ { "signalAPI": { "Date": "2021-06-18 09:16:51", "AccelUnit": "G", "VelUnit": "G", "EnvUnit": "G" } } ] } ] } ] }]