Skip to content

Spectrum and waveform as coordinate pairs

Deprecated
POST
/GetFFT
curl --request POST \
--url https://api.eianalytic.com/ApiWeb.svc/GetFFT \
--header 'Content-Type: application/json' \
--data '{ "machinecode": 1, "fileid": 1, "Token": "example" }'

Deprecated — use GetFFT_Base64.

Returns two matrices: the first is the waveform, the second the spectrum. In each, X and Y have the same length.

Media typeapplication/json
object
machinecode
required
integer
fileid
required

File id, from GetHistoryMeasures.

integer
Token
required

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

string
Examplegenerated
{
"machinecode": 1,
"fileid": 1,
"Token": "example"
}

Waveform first, spectrum second.

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 series as coordinate pairs. X and Y are the same length.

object
X
Array<number>
Y
Array<number>
Example
[
{
"Key": {
"StatusNumber": 0,
"Description": "OK"
}
}
]