mike-roetgers/zanox-erp-api
最新稳定版本:1.0.1
Composer 安装命令:
composer require mike-roetgers/zanox-erp-api
包简介
Zanox ERP API Client
README 文档
README
Right now only UserService.asmx and ExportService.asmx are implemented.
Usage
$userService = new UserService('username', 'password'); $userService->login(); // You can reuse the ticket, so you don't have to login for every request. Store it in a DB or sth ... $someStorage->storeTicket($userService->getTicket()); $exportService = new ExportService($userService); $filter = new PpsFilter('2014-05-01T00:00:00+02:00', '2014-05-02T23:59:59+02:00'); $result = $exportService->getPps($programId, $filter);
Debugging
If you need to debug your communication with the SOAP server, you can replace the SoapClient object.
$userService = new UserService('username', 'password'); $soapClient = new \SoapClient($wsdlUrl, array('trace' => true)); $userService->setClient($soapClient); try { $userService->login(); } catch (\Exception $e) { var_dump($userService->getClient()->__getLastRequest()); }
统计信息
- 总下载量: 987
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-05-21