Sage.PL.WebAPI.Interface.InventoryStates.Interfaces Namespace > IInventoryStatesController Interface > IInventoryStatesController Methods > GetByProductIdAndWarehouseId Method 

Drukuj

.NET Framework Class Library

IInventoryStatesController.GetByProductIdAndWarehouseId Method

Metoda umożliwia pobranie stanów magazynowych i handlowych z magazynu o podanym id i dla towaru o podanym id.

[GET] /api/InventoryStates/ByProductAndWarehouse?productId=id_towaru&warehouseId=id_magazynu

Namespace: Sage.PL.WebAPI.Interface.InventoryStates.Interfaces

Assembly:  Sage.PL.WebAPI.Interface.InventoryStates (in Sage.PL.WebAPI.Interface.InventoryStates.dll) Version: 24.2.1.0 (24.2.1.0)

Syntax

Visual Basic

Function GetByProductIdAndWarehouseId ( _
 productId As Integer, _
 warehouseId As Integer _
As IHttpActionResult

C#

IHttpActionResult GetByProductIdAndWarehouseId(
 int productId,
 int warehouseId
)

Visual C++

IHttpActionResultGetByProductIdAndWarehouseId(
 int productId,
 int warehouseId
)

JavaScript

function getByProductIdAndWarehouseId(productIdwarehouseId);

Parameters

productId

Type: System.Int32

[FromUri] Id towaru.

warehouseId

Type: System.Int32

[FromUri] Id magazynu.

Return Value

Zwraca obiekt stanów magazynowych i handlowych InventoryState.

See Also

IInventoryStatesController Interface

IInventoryStatesController Members

Sage.PL.WebAPI.Interface.InventoryStates.Interfaces Namespace