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

Drukuj

.NET Framework Class Library

IOssProductController.GetByShopProduct Method

Metoda umożliwia pobranie wszystkich zdefiniowanych towarów dla wskazanego towaru ze sklepu internetowego i aktywnego sklepu.

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

[GET] /api/OssProduct?shopProductId=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 GetByShopProduct ( _
 shopProductId As String _
As IHttpActionResult

C#

IHttpActionResult GetByShopProduct(
 string shopProductId
)

Visual C++

IHttpActionResultGetByShopProduct(
 StringshopProductId
)

JavaScript

function getByShopProduct(shopProductId);

Parameters

shopProductId

Type: System.String

[FromUri] Id towaru ze sklepu internetowego.

Return Value

Zwraca obiekt CountryProductList.

See Also

IOssProductController Interface

IOssProductController Members

Symfonia.WebAPI.Interface.OSS.Interfaces Namespace