List axes on a point
POST
/GetAxis
const url = 'https://api.eianalytic.com/ApiWeb.svc/GetAxis';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"pointindex":1,"machinecode":1,"Token":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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).
Request Bodyrequired
Section titled “Request Bodyrequired”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"}Responses
Section titled “Responses”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" } ] }]