Symfonia.WebAPI.Interface.OSS.Interfaces Namespace > IOssProductController Interface > IOssProductController Methods > GetByErpProduct Method 

Drukuj

.NET Framework Class Library

IOssProductController.GetByErpProduct Method

Metoda umożliwia pobranie wszystkich zdefiniowanych towarów dla wskazanego towaru z programu Handel i aktywnego sklepu.

Sklep ustalany jest na podstawie nazwy urządzenia aktywnej sesji.

[GET] /api/OssProduct?erpProductId=id_towaru

Namespace: Symfonia.WebAPI.Interface.OSS.Interfaces

Assembly:  Symfonia.WebAPI.Interface.OSS (in Symfonia.WebAPI.Interface.OSS.dll) Version: 24.2.1.0 (24.2.1.0)

Syntax

Visual Basic

Function GetByErpProduct ( _
 erpProductId As Integer _
As IHttpActionResult

C#

IHttpActionResult GetByErpProduct(
 int erpProductId
)

Visual C++

IHttpActionResultGetByErpProduct(
 int erpProductId
)

JavaScript

function getByErpProduct(erpProductId);

Parameters

erpProductId

Type: System.Int32

[FromUri] Id towaru z programu Handel.

Return Value

Zwraca obiekt CountryProductList.

See Also

IOssProductController Interface

IOssProductController Members

Symfonia.WebAPI.Interface.OSS.Interfaces Namespace