Skip to content

List axes on a point

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

Axes are reported as H (1), V (2) and A (3).

Media typeapplication/json
object
pointindex
required
integer
machinecode
required
integer
Token
required

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

string
Examplegenerated
{
"pointindex": 1,
"machinecode": 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"
}
]
}
]