Support Forums
Getting Pump Reading from VTSCADA to API

I am working on some software for my company. Field technicians can enter well pump readings and the chlorine residual through an Android / iOS app.

The backend of the app is written in Node.js.

I'm trying to get the pump reading from VTSCADA and send it to our app.

I wrote an API (documented here )

I also wrote a CLI (documented here )

Is there some way we can take the pump reading and insert it to powershell or can we otherwise make calls to the API I wrote?

Thanks for your help

I am working on some software for my company. Field technicians can enter well pump readings and the chlorine residual through an Android / iOS app. The backend of the app is written in Node.js. I'm trying to get the pump reading from VTSCADA and send it to our app. I wrote an API (documented [here](https://docs.liftstation.cloud/api/intro) ) I also wrote a CLI (documented [here](https://docs.liftstation.cloud/cli/intro) ) Is there some way we can take the pump reading and insert it to powershell or can we otherwise make calls to the API I wrote? Thanks for your help

To clarify - with the CLI this is the documentation for the command to send well data click here.

The ID is the primary key of the well in our database, we just need to retrieve the pump reading from VTSCADA and run the command in powershell (or cmd or wsl)


The similar API Endpoint can be viewed here

Again we would just need the pump reading for the well from VT SCADA, then we would need to create a JSON Object and send a HTTP request

To clarify - with the CLI this is the documentation for the command to send well data [click here](https://docs.liftstation.cloud/cli/push-well-reading). The ID is the primary key of the well in our database, we just need to retrieve the pump reading from VTSCADA and run the command in powershell (or cmd or wsl) ------------------- The similar API Endpoint can be viewed [here](https://docs.liftstation.cloud/api/add-well-reading) Again we would just need the pump reading for the well from VT SCADA, then we would need to create a JSON Object and send a HTTP request

The easiest thing would be to query VTScada's built-in REST API. Check out the following from the online help files: https://www.vtscada.com/help/Content/D_LogAndReport/D_RESTQueries.htm

Note that VTScada also includes a JSON/XML driver which allows the software to connect to an API to get data. This would likely also allow you to get the data from your API and into VTScada.

The easiest thing would be to query VTScada's built-in REST API. Check out the following from the online help files: https://www.vtscada.com/help/Content/D_LogAndReport/D_RESTQueries.htm Note that VTScada also includes a JSON/XML driver which allows the software to connect to an API to get data. This would likely also allow you to get the data from your API and into VTScada.

Trihedral Engineering Ltd.

307
2
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft