Skip to content

List machines

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

Area id, from GetAreas.

integer
Token
required

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

string
Examplegenerated
{
"idarea": 1,
"Token": "example"
}

A list of hierarchy nodes.

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 node of the company → area → machine → point → axis tree.

object
Id
integer
Name
string
Description
string
Type

Which level of the hierarchy this node sits at.

string
Example
[
{
"Key": {
"StatusNumber": 0,
"Description": "OK"
},
"Value": [
{
"Type": "Company"
}
]
}
]