starweb/ongoing

1.0.4 2023-01-18 15:00 UTC

This package is auto-updated.

Last update: 2024-12-18 19:22:03 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();