artipa.BusinessPortalClient
artipa.BusinessPortalClient (ABPClient) is an application for exchanging EDI files with artipa.BusinessPortal (ABP) servers. It is a simple client that runs from the command line. It sends messages prepared in the outgoing directory and downloads incoming messages from the server.
The client communicates with the REST API on the abpapi.artipa.cz server using https and authenticates with the API key from the configuration file.
The API key must be obtained from the EDI service provider artipa.software.
The start switches are -d (download), -u (upload). The switches can be used separately or in combination.
The directory structure looks like this:
- /bin – the abpclient application itself and the config.json configuration file
- /data – contains directories for edi files (can be changed in config.json)
- /log – contains logs
Installation
- Download the zip for the appropriate platform (see bellow Download)
- Unzip the zip to an installation directory of your choice (e.g.. C:\AbpClient or /opt/abpclient)
- Launch a terminal or command prompt and go to AbpClient\bin or /opt/abpclient/bin
- Run the command:
./AbpClient -k [APIKey]You will receive the API key from the artipa Provider. - Run the command:
./AbpClient -d(Linux/macOS) orAbpClient.exe -d(Windows) (In folder data/in see file test.txt) - Startup options
-dDownloads files from the server to data/in-uSend files from data/out (sent files will be moved to the directory data/sent) - If the application is launched by a scheduled task, make sure that this task directly launches the file \bin\abpclient.exe with parameters -u -d and process runs in the context of a directory /bin (because the paths in the configuration and program are specified relatively).
Download2940_63af8d-fa> |
|---|
| 2940_8d1be9-5e> |
| 2940_485849-4c> |
| 2940_58a8d4-89> |
| 2940_5c7fd4-f3> |
| 2940_361157-88> |
| 2940_c51501-c5> |