2017 © Pedro Peláez
 

library ms-restapi

PHPClient to work with through Moy Sklad Rest API.

image

dmamontov/ms-restapi

PHPClient to work with through Moy Sklad Rest API.

  • Tuesday, October 27, 2015
  • by dmamontov
  • Repository
  • 2 Watchers
  • 3 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

Latest Stable Version License Total Downloads, (*1)

Moy Sklad API Client

This class can Manage accounts of Moy Sklad using its REST API., (*2)

It can obtain an authorization password for a given account, so it can send HTTP requests to the Moy Sklad Rest API in order to perform several types of operations., (*3)

Requirements

  • PHP version >5.0
  • curl

Installation

1) Install composer, (*4)

2) Follow in the project folder:, (*5)

composer require dmamontov/ms-restapi ~1.1.2

In config composer.json your project will be added to the library dmamontov/ms-restapi, who settled in the folder vendor/. In the absence of a config file or folder with vendors they will be created., (*6)

If before your project is not used composer, connect the startup file vendors. To do this, enter the code in the project:, (*7)

require 'path/to/vendor/autoload.php';

Examples of use

Get unit of measurement.

``` php $ms = new MSRestApi('admin@xxxx.ru', 'xxxxxxxxxx');, (*8)

$uuid = '7e4b5318-44df-11e5-7a07-673d0083fdac'; $uomGet = $ms->uomGet($uuid);, (*9)

### Creating unit of measurement

``` php
$ms = new MSRestApi('admin@xxxx.ru', 'xxxxxxxxxx');

$headerXml = '<%s/>';

$newUom = new SimpleXMLElement(
                  sprintf($headerXml, 'uom'),
                  LIBXML_NOENT | LIBXML_NOCDATA |
                  LIBXML_COMPACT | LIBXML_PARSEHUGE
          );

$newUom->addAttribute('favourite', 'false');
$newUom->addAttribute('name', 'example');
$newUom->addChild('code', '999');
$newUom->addChild('externalcode', '999');
$newUom->addChild('description', 'Example 999');

$uomCreate = $ms->uomCreate($newUom);

Available methods

References

  • uomGet
  • uomCreate
  • uomDelete
  • uomGetList
  • uomUpdateList
  • goodGet
  • goodCreate
  • goodDelete
  • goodGetList
  • goodUpdateList
  • goodDeleteList
  • goodFolderGet
  • goodFolderCreate
  • goodFolderDelete
  • goodFolderGetList
  • goodFolderUpdateList
  • goodFolderDeleteList
  • serviceGet
  • serviceCreate
  • serviceDelete
  • serviceGetList
  • serviceUpdateList
  • serviceDeleteList
  • warehouseGet
  • warehouseCreate
  • warehouseDelete
  • warehouseGetList
  • warehouseUpdateList
  • warehouseDeleteList
  • companyGet
  • companyCreate
  • companyDelete
  • companyGetList
  • companyUpdateList
  • companyDeleteList
  • myCompanyGet
  • myCompanyCreate
  • myCompanyDelete
  • myCompanyGetList
  • myCompanyUpdateList
  • myCompanyDeleteList
  • personGet
  • personCreate
  • personDelete
  • personGetList
  • personUpdateList
  • personDeleteList
  • employeeGet
  • employeeCreate
  • employeeDelete
  • employeeGetList
  • employeeUpdateList
  • employeeDeleteList
  • countryGet
  • countryCreate
  • countryDelete
  • countryGetList
  • countryUpdateList
  • countryDeleteList
  • consignmentGet
  • consignmentCreate
  • consignmentDelete
  • consignmentGetList
  • consignmentUpdateList
  • consignmentDeleteList
  • currencyGet
  • currencyCreate
  • currencyDelete
  • currencyGetList
  • currencyUpdateList
  • currencyDeleteList
  • processingPlanFolderGet
  • processingPlanFolderCreate
  • processingPlanFolderDelete
  • processingPlanFolderGetList
  • processingPlanFolderUpdateList
  • processingPlanFolderDeleteList
  • processingPlanGet
  • processingPlanCreate
  • processingPlanDelete
  • processingPlanGetList
  • processingPlanUpdateList
  • processingPlanDeleteList
  • contractGet
  • contractCreate
  • contractDelete
  • contractGetList
  • contractUpdateList
  • contractDeleteList
  • projectGet
  • projectCreate
  • projectDelete
  • projectGetList
  • projectUpdateList
  • projectDeleteList
  • gtdGet
  • gtdCreate
  • gtdDelete
  • gtdGetList
  • gtdUpdateList
  • gtdDeleteList
  • thingGet
  • thingCreate
  • thingDelete
  • thingGetList
  • thingUpdateList
  • thingDeleteList
  • lossReasonGet
  • lossReasonCreate
  • lossReasonDelete
  • lossReasonGetList
  • lossReasonUpdateList
  • lossReasonDeleteList
  • enterReasonGet
  • enterReasonCreate
  • enterReasonDelete
  • enterReasonGetList
  • enterReasonUpdateList
  • enterReasonDeleteList
  • customEntityGet
  • customEntityCreate
  • customEntityDelete
  • customEntityGetList
  • customEntityUpdateList
  • customEntityDeleteList
  • workflowGet
  • workflowCreate
  • workflowDelete
  • workflowGetList
  • workflowUpdateList

Documentation

  • supplyGet
  • supplyCreate
  • supplyDelete
  • supplyGetList
  • supplyUpdateList
  • supplyDeleteList
  • demandGet
  • demandCreate
  • demandDelete
  • demandGetList
  • demandUpdateList
  • demandDeleteList
  • lossGet
  • lossCreate
  • lossDelete
  • lossGetList
  • lossUpdateList
  • lossDeleteList
  • enterGet
  • enterCreate
  • enterDelete
  • enterGetList
  • enterUpdateList
  • enterDeleteList
  • salesReturnGet
  • salesReturnCreate
  • salesReturnDelete
  • salesReturnGetList
  • salesReturnUpdateList
  • salesReturnDeleteList
  • purchaseReturnGet
  • purchaseReturnCreate
  • purchaseReturnDelete
  • purchaseReturnGetList
  • purchaseReturnUpdateList
  • purchaseReturnDeleteList
  • customerOrderGet
  • customerOrderCreate
  • customerOrderDelete
  • customerOrderGetList
  • customerOrderUpdateList
  • customerOrderDeleteList
  • purchaseOrderGet
  • purchaseOrderCreate
  • purchaseOrderDelete
  • purchaseOrderGetList
  • purchaseOrderUpdateList
  • purchaseOrderDeleteList
  • internalOrderGet
  • internalOrderCreate
  • internalOrderDelete
  • internalOrderGetList
  • internalOrderUpdateList
  • internalOrderDeleteList
  • processingOrderGet
  • processingOrderCreate
  • processingOrderDelete
  • processingOrderGetList
  • processingOrderUpdateList
  • processingOrderDeleteList
  • processingGet
  • processingCreate
  • processingDelete
  • processingGetList
  • processingUpdateList
  • processingDeleteList
  • moveGet
  • moveCreate
  • moveDelete
  • moveGetList
  • moveUpdateList
  • moveDeleteList
  • inventoryGet
  • inventoryCreate
  • inventoryDelete
  • inventoryGetList
  • inventoryUpdateList
  • inventoryDeleteList
  • cashInGet
  • cashInCreate
  • cashInDelete
  • cashInGetList
  • cashInUpdateList
  • cashInDeleteList
  • cashOutGet
  • cashOutCreate
  • cashOutDelete
  • cashOutGetList
  • cashOutUpdateList
  • cashOutDeleteList
  • paymentInGet
  • paymentInCreate
  • paymentInDelete
  • paymentInGetList
  • paymentInUpdateList
  • paymentInDeleteList
  • paymentOutGet
  • paymentOutCreate
  • paymentOutDelete
  • paymentOutGetList
  • paymentOutUpdateList
  • paymentOutDeleteList
  • retailDemandGet
  • retailDemandCreate
  • retailDemandDelete
  • retailDemandGetList
  • retailDemandUpdateList
  • retailDemandDeleteList
  • retailSalesReturnGet
  • retailSalesReturnCreate
  • retailSalesReturnDelete
  • retailSalesReturnGetList
  • retailSalesReturnUpdateList
  • retailSalesReturnDeleteList

The Versions

27/10 2015

dev-master

9999999-dev http://www.slobel.ru/

PHPClient to work with through Moy Sklad Rest API.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0

 

by Dmitry Mamontov

api rest client crm ms moy sklad

27/10 2015

1.1.2

1.1.2.0 http://www.slobel.ru/

PHPClient to work with through Moy Sklad Rest API.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0

 

by Dmitry Mamontov

api rest client crm ms moy sklad

26/10 2015

1.1.1

1.1.1.0 http://www.slobel.ru/

PHPClient to work with through Moy Sklad Rest API.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0

 

by Dmitry Mamontov

api rest client crm ms moy sklad

26/10 2015

1.1.0

1.1.0.0 http://www.slobel.ru/

PHPClient to work with through Moy Sklad Rest API.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0

 

by Dmitry Mamontov

api rest client crm ms moy sklad

24/10 2015

1.0.3

1.0.3.0 http://www.slobel.ru/

PHPClient to work with through Moy Sklad Rest API.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0

 

by Dmitry Mamontov

api rest client crm ms moy sklad

16/10 2015

1.0.2

1.0.2.0 http://www.slobel.ru/

PHPClient to work with through Moy Sklad Rest API.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0

 

by Dmitry Mamontov

api rest client crm ms moy sklad

18/08 2015

1.0.1

1.0.1.0 http://www.slobel.ru/

PHPClient to work with through Moy Sklad Rest API.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0

 

by Dmitry Mamontov

api rest client crm ms moy sklad

18/08 2015

1.0.0

1.0.0.0 http://www.slobel.ru/

PHPClient to work with through Moy Sklad Rest API.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0

 

by Dmitry Mamontov

api rest client crm ms moy sklad