gam6itko/cse-carrier

CSE carrier api library

v0.1.0 2018-11-02 12:55 UTC

This package is auto-updated.

Last update: 2022-08-05 19:28:27 UTC


README

CSE carrier api interaction library.

Api documentation

https://lk.cse.ru/files/uploads/extended_api_2017_02_07_1rv_EngVer.pdf

Integration (Russian)

Install

php composer.phar require gam6itko/cse-carrier

Usage

$cseWebService = new CseWebService('your_login', 'your_password', 'http://web.cse.ru/1c/ws/Web1C.1cws?wsdl');

$parameters = (new Element())
   ->setKey('Parameters')
   ->setList([
       new Element('Reference', $referenceName, 'string')
   ]);

/** @var Element $requestResult */
$requestResult = $cseWebService->getReferenceData($parameters);