What needs to be considered?
The aim is to automatically place orders (offers) for rolling bearings on BEARING X.
Each participating company can automatically upload valid CSV files to their BEARING X REST-Facade and create orders without using the graphical user interface. To use this functionality, the participating company must create a simple shell or batch script.
Example scripts for upload realisation
Please note: The scripts provided are for example purposes only and should be customised before use.
The shell script was tested with the Windows UNIX subsystem (bash) and MAC OS (shell).
The batch script was tested under Windows 10 cmd and Powershell.
The Windows version for the batch script must be at least Windows 10 Update 1803, as cURL is required and was added with
was added with this Windows update.
If you have an older version of Windows, you can download cURL here https://curl.se/windows/ and install it manually. Using the automatic upload, it should be possible to upload a CSV file to the company's Restfacade. The script is used to log into the rest facade of the specified url and upload the specified file as a batch job upload file.