starweb/ongoing

1.0.4 2023-01-18 15:00 UTC

This package is auto-updated.

Last update: 2024-10-18 18:56:58 UTC


README

This package includes (php)-classes for Ongoing Warehouse's Soap-api.

The classes are generated with Wsdl2phpgenerator. When Ongoing updates their api the classes can be updated with php generate.php http://ongoingwsdlurl.tld/service.asmx?wsdl.

Install with composer

require starweb/ongoing

Example

$service = new \Ongoing\Service([], 'http://ongoingwsdlurl.tld/service.asmx?wsdl');
$getOrderByOrderNumber = new \Ongoing\GetOrderByOrderNumber($goodsOwnerCode, $username, $password, $orderNumber);
$order = $service->GetOrderByOrderNumber($getOrderByOrderNumber)->getGetOrderByOrderNumberResult();