Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Things you should know about REST API data upload :

Info


REST API is only available to users who:

  • have HansaWorld version STDERP_8.1-2015-06-02
  • have HansaWorld Webshop licence enabled for setup period

Please note : 

  • Rest api connection pushes all data that is requested starting form period you want to start import from
  • For HansaWorld version 8.3 or below there is a request limit size in flex.bi. If the request limit is exceeded file import will have to be used for that register or the register's period
  • Combined import is available only for flex.bi versions 4.0 or newer. With combined import you can import data in one account both from Source files and Rest api

...

  1. You need to know the web port of your HansaWorld server (which is not the same as you normal port used for HansaWorld client). Normally it should be specified in Technics>>Program Mode.

    Note

    As web port can be overridden by server startup scripts, firewall or other configurations we recommend to contact your HansaWorld partner and/or hosting partner to find out the actual port number used

     

  2. You need to know the URL or IP address of your HansaWorld server that can be used for web requests from the Internet.
  3. Add new row in Webshop>>Settings>>Allow functions on web>>WebDataAPI
    For security reasons, you should it is highly recommended to restrict the usage of this by specifying allowed ip addresses as well.
     
  4. (Optional) Now you can test that this functionality is working with by replacing the IP and Port of this link: http://ip:port/WebDataAPI.hal?register=BaseCurBlock and entering it in your browser. 
  5. As a result you should get a short JSON formatted result with your base currencies from first company which means connection is working and flex.bi will care of the rest

...