Scada-LTS
Scada-LTS copied to clipboard
Do we have json api to write tags ? or data points
Do we have json api to write tags ? or data points
Yes, We have REST API to save and read data for data point. I will try to prepare an example of the REST API. It is to improve the security of the REST API.
I just browsed over API, did find following api
"/api/point_value/setValue/{xid}/{type}/{value}"
Value does change on the watchlist point, but it doesnt change on modbus device and later it reverts to original
@grzesiekb I tried the SOAP api for writeData but getting below error
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
soapenv:Body
soapenv:Fault
@abhishekricky Could you add the definition of modbus which you didn't update from REST API "/api/point_value/setValue/{xid}/{type}/{value}".
api end point I used -> /api/point_value/setValue/{xid}/{type}/{value}
/api/point_value/setValue/DP_152354/2/16
And it was Holding Register -> Address 34 ( Format is unsigned Integer )
Please write to me email [email protected].
When I use configureDataSource wsdl soap api I have same issue org.xml.sax.SAXException: No deserializer for {http://www.w3.org/2001/XMLSchema}anyType
Have you solved?