Setup
To be able to use REST API as a way to import your files you must first make sure you have the necessary plan parameters enabled. To enable REST API add "data_source - "rest_api" " to your plan parameters.
Then you will be able to perform imports with REST API. To do so click on the "Add new source application" button in your Source Data -> Source Applications tab. Select "HANSAWORLD" as your source application.
Press the button create.
A page similar to this should appear
In the source data URL enter the URL to your HansaWorld server. The URL should look similar to this: http://sample.url.com:1234/WebDataAPI.hal
The URL consists of the following elements
Public Hostname | Port | .hal file name | Optional fields |
---|---|---|---|
http://sample.url.com | :1234 | /WebDataAPI.hal | ?company= *number* |
-where *number* is the number (code) of the company that's displayed in System (Module) -> Registers -> Companies. Adding this optional field will export data only from that specific company.
When you have entered your Source data URL then press continue.