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

Drukuj

.NET Framework Class Library

IInventoryStatesController.GetByProductCode Method

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

[GET] /api/InventoryStates/ByProduct?code=kod_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 GetByProductCode ( _
 code As String _
As IHttpActionResult

C#

IHttpActionResult GetByProductCode(
 string code
)

Visual C++

IHttpActionResultGetByProductCode(
 Stringcode
)

JavaScript

function getByProductCode(code);

Parameters

code

Type: System.String

[FromUri] Kod 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