is therefore to identify the URL to connect to your survey. However, every survey has its own unique requirements and ready-made API URLs are rarely available. Your IT team will actually need to create the URL(s) that return the relevant JSON format data results. Of course, NIPO can provide any support you need for doing this.
is to set this up in Nfield Online. Under Survey Default Settings, simply add the URL as an API end point and give it a name. Doing this tells Nfield that calling “CryptoCurrency” from the survey script refers to a call to this particular URL.
is to call the API from your survey setup.
The call status is stored in “result” and the answers are stored in the arrays of var1 and var2. In our example var1 is filled with the ‘pair’ info and var2 with ‘ask’ (asking price) information, so our *GETDATA command looks like this:
*GETDATA result pair,ask "CryptoCurrency:"
Note that our demo example doesn’t utilize the second component option for parameters.