Management HTTP Server
Within OEVIS® it is possible to enable an HTTP server that exposes several endpoints. Some server parameters like port and if it has to automatically start at the software startup can be edited from the App Settings. This endpoints can be used for start the cycle, run once, stop and change project.
Note
The description of the following endpoints assumes that the chosen port is "3000"
Start endpoint
The endpoint is
http://localhost:3000/project-management/start
Make a POST call to this endpoint to start the project loop.
Run once endpoint
The endpoint is
http://localhost:3000/project-management/run-once
Make a POST call to this endpoint to run once the project.
Stop endpoint
The endpoint is
http://localhost:3000/project-management/stop
Make a POST call to this endpoint to stop the project.
Change project
The endpoint is
http://localhost:3000/project-management/change-project
Make a POST call to this endpoint to change the project, the new project's path has to be provided inside the request body following the schema below.
{
"PathProject" : "yourprojectpath.ovprj"
}