<back to all web services
Catalog_UpdateStocks
The following routes are available for this service:POST | /Catalog_UpdateStocks | | |
---|
Catalog_UpdateStocks Parameters:Name | Parameter | Data Type | Required | Description |
---|
Items | body | List<CatalogStock> | No | |
CatalogStock Parameters:Name | Parameter | Data Type | Required | Description |
---|
uid | form | string | No | |
stock | form | decimal | No | |
in_way_stock | form | decimal | No | |
receipt_date | form | DateTime | No | |
StockDestination | form | List<StockDestination> | No | |
StockDestination Parameters:Name | Parameter | Data Type | Required | Description |
---|
Destination | form | string | No | |
Stock | form | decimal | No | |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /Catalog_UpdateStocks HTTP/1.1
Host: wbs.e-teleport.ru
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<Catalog_UpdateStocks xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TeleportService.ServiceModel">
<Items>
<CatalogStock>
<StockDestination>
<StockDestination>
<Destination>String</Destination>
<Stock>0</Stock>
</StockDestination>
</StockDestination>
<in_way_stock>0</in_way_stock>
<receipt_date>0001-01-01T00:00:00</receipt_date>
<stock>0</stock>
<uid>String</uid>
</CatalogStock>
</Items>
</Catalog_UpdateStocks>