Skip to content

Every device in the database

POST
/GetAllDevices
curl --request POST \
--url https://api.eianalytic.com/ApiWeb.svc/GetAllDevices \
--header 'Content-Type: application/json' \
--data '{ "Token": "example" }'
Media typeapplication/json
object
Token
required

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

string
Examplegenerated
{
"Token": "example"
}

A column/row table.

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>

A generic table. columns names the fields and each entry of data is one row, positionally aligned with columns.

object
columns
Array<string>
data
Array<Array>
Example
[
{
"Key": {
"StatusNumber": 0,
"Description": "OK"
},
"Value": [
{
"columns": [
"MachineCode",
"PointIndex",
"Axis",
"Date_Time",
"Units",
"Severity",
"RealValue",
"Reason"
]
}
]
}
]