Skip to content

Historical readings for one axis

Deprecated
POST
/GetHistoryMeasures
curl --request POST \
--url https://api.eianalytic.com/ApiWeb.svc/GetHistoryMeasures \
--header 'Content-Type: application/json' \
--data '{ "machinecode": 1, "pointindex": 1, "axis": 1, "StartDate": "2019-10-10", "EndDate": "2019-10-10", "getRMS": true, "Token": "example" }'

Deprecated — use GetAllHistoryMeasures.

Returns the same readings as typed SignalApi objects rather than the column/row table the replacement uses.

Media typeapplication/json
object
machinecode
required
integer
pointindex
required
integer
axis
required
integer
StartDate

yyyy-MM-dd for a whole day, or yyyy-MM-dd HH:mm:ss (24-hour clock) for an instant. A date-only value returns everything in that range.

string
EndDate

yyyy-MM-dd for a whole day, or yyyy-MM-dd HH:mm:ss (24-hour clock) for an instant. A date-only value returns everything in that range.

string
getRMS

true also returns the internal RMS the sensor calculates, expressed as velocity in mm/s.

boolean
Token
required

The database token returned by Login. Sent in the request body, not in a header.

string

Readings in the requested range.

Media typeapplication/json
Array<object>
object
Key

The Key half of every response envelope.

object
StatusNumber
required

0 means OK. See the Conventions page for the full table.

integer
Description
required
string
Configs

Present on some responses; empty in the documented examples.

Array<object>
object
Value
Array<object>

One processed reading for an axis.

object
FileId

Identifies the stored measurement; feed it to GetFFT_Base64.

integer
Date
string
Reason

Why the measurement was taken. See the Reason table.

integer
SampleRate
integer
Calibration
number format: float
Sensitivity
number format: float
AccelRMS
number format: float
AccelUnit

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.

string
AccelSev
number format: float
VelRMS
number format: float
VelUnit

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.

string
VelSev
number format: float
EnvRMS
number format: float
EnvUnit

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.

string
EnvSev
number format: float
Example
[
{
"Key": {
"StatusNumber": 0,
"Description": "OK"
},
"Value": [
{
"Date": "2021-06-18 09:16:51",
"AccelUnit": "G",
"VelUnit": "G",
"EnvUnit": "G"
}
]
}
]