In this article we will describe the procedure for uploading csv files to the custom patch in the LumiNode range.
Before you start you have to configure the process engines in the correct mode first with the sources configured as usual.
In this example we will be using the postman application for the web api calls.
Open postman and start a new request. To read the current patch of the process engine you can use the following command:
GET: http://
{IPOFYOURDEVICE}/api/processblock/
{indx}/csv
In here you use the IP address of your node and the indx is the number of your process engine.
Process Engine 1 = indx 0
Process Engine 2 = indx 1
etc
In order to upload your csv file you now change to the POST command in postman and use the following command:
POST: http://
{IPOFYOURDEVICE}/api/processblock/
{indx}/csv
Before you choose "Send" you have to do the following steps:
- Under the request field you select the form-data option
- Then in the key field you change the type from "text" to "file" and in the Key field you type "file"
- Now you use the select file option to browse to the csv file you want to upload
- Hit the "Send" button
When you make the csv file it is important to use the following example as a guide line:
In order to see the new patch in the web UI of the LumiNode you will have to refresh your browser.