Logic Machine Forum
Json in EcoStruxure - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: Json in EcoStruxure (/showthread.php?tid=4837)



Json in EcoStruxure - andreas@altpluss.no - 21.06.2023

Hello.

Can anyone help me?

Is it possible to get this data in EcoStruxure with scripting?



andreas@altpluss.no


RE: Json in EcoStruxure - Erwin van der Zwart - 22.06.2023

Are you running an ES?

If yes than you can find a tool on Exchange “Webservice as a proxy” that runs as a service on your ES machine, here you can setup an JSON endpoint and it will be converted to .xml in the service, than you can add a simple xml interface in EBO that points to localhost:port that is set in the service.

If you have only AS there are some scripts and functions in PE that can be used to decode the JSON HEX string that is received from a webrequest in EBO but my experience is not great with that decoding script when having bigger payloads..

BR,

Erwin

PS: Why ask here when we have a dedicated community on Exchange for EBO??