In perspective, on button event click, it will call SAP URL endpoint to fetch JSON data. So to get SAP integration(Data) which is the best way - using WebDev or SepaSoft modules(webservice and Business connector)
If you want Ignition to originate the call to an external API, you don’t need either module: just script it with system.net.httpClient()
.
Use WebDev if you want Ignition to offer and API for other systems to call.
Sepasoft’s Web Services module enables much of this with little or no scripting.
2 Likes
Addition to above question , I have created an Endpoint in webdev that my SAP system needs to trigger .For security I am required to provide the Endpoint URL, Token URL, ClientID, Client Secret. I understand this is done using OAuth2 clients, but since I am new to this topic, how can I obtain these Details?
Ignition doesn't do OAuth processing for you in WebDev. You will have to implement it entirely yourself.