News
20.01.2024 | Extension API-Function getCustomCatalogue
The function getCustomCatalogue has been extended. Now it is possible to get multiple Prices (up to 10) in one Request.
Therefore you have to take multiple quantities in the parameter quantity.
Example:
quantity=1_quantity|50_quantity|100_quantity
The prices are return in the respone in productList – selectGroupList – optionList in array optionTranslations.
The value of the field optionName is the requested quantity. (In the example 1_quantity or 50_quantity or 100_quantity)
Administration (1)
Das SOAP Array ist wie nachfolgend beschrieben aufgebaut.
$options = array(
‘soap_version’ => SOAP_1_1,’exceptions’ => true,
‘trace’ => 1,
‘cache_wsdl’ => WSDL_CACHE_NONE,
‘local_cert’ => ‘C:/xampp/htdocs/js/Certs/sample.cert’,
‘charset’ => ‘utf8’,
‘stream_context’ => stream_context_create([‘ssl’ => [‘verify_peer’ => false, ‘verify_peer_name’ => false, ‘allow_self_signed’ => true]])
);
Note
The variable “stream_context” only needs to be set in the sample or dev system. This has to be omitted in the live environment.
The certificate used for the sample, dev or productive system is specified in the “local_cert” variable.
The web service is specified in the variable $ soap_service.
Sample and Dev
http://interface.unitedprint.com.onts.print24test.de/wsdl2.1
Productive
http://interface.unitedprint.com/wsdl2.1
Order (1)
Experience has shown that response when creating an order can occur times of > 300 seconds.
Set your response timeout to 360 seconds