API - Basic Usage

Method #1: The xmlfile approach

Let Acumulus get your local XML file.
Place all the necessary data in a (temporary) XML file that can be accessed by Acumulus on your local location. Example:

https://www.yourwebshop.com/somefolder/yourfile.xml
or when HTTP-auth is in place:
https://username:password@www.yourwebshop.com/somefolder/yourfile.xml

Process your XML-data by using the following url:

https://api.sielsystems.nl/acumulus/stable/path/to/api_call_used.php?xmlfile=https://www.yourwebshop.com/somefolder/yourfile.xml
Do not forget to escape your XML-control characters!

Method #2: The xmlstring approach

Post all the data straight into the API.
Example: Using cURL and PHP.

<?php
    $xml_string = "<myxml>......</myxml>";
    $xml_string = urlencode($xml_string);
    $url = "https://api.sielsystems.nl/acumulus/stable/path/to/api_call_used.php";
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_SSLVERSION, "CURL_SSLVERSION_TLSv1_2");
    curl_setopt($ch, CURLOPT_POSTFIELDS, "xmlstring=$xml_string");
    curl_setopt($ch, CURLOPT_TIMEOUT, 30);
    curl_exec($ch);
    curl_close($ch);
?>
Do not forget to escape your XML-control characters!
<?php
  htmlentities($value_xmlfield, ENT_XML1, "UTF-8");
?>