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

Drukuj

.NET Framework Class Library

IInventoryStatesController.GetByProductId Method

Metoda umożliwia pobranie stanów magazynowych i handlowych ze wszystkich magazynów dla towaru o podanym id.

[GET] /api/InventoryStates/ByProduct?id=id_towaru

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 GetByProductId ( _
 id As Integer _
As IHttpActionResult

C#

IHttpActionResult GetByProductId(
 int id
)

Visual C++

IHttpActionResultGetByProductId(
 int id
)

JavaScript

function getByProductId(id);

Parameters

id

Type: System.Int32

[FromUri] Id towaru.

Return Value

Zwraca kolekcję obiektów stanów magazynowych i handlowych InventoryState.

See Also

IInventoryStatesController Interface

IInventoryStatesController Members

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