Symfonia.WebAPI.Interface.OSS.Interfaces Namespace > IOssProductMapsController Interface > IOssProductMapsController Methods > GetByCountry Method 

Drukuj

.NET Framework Class Library

IOssProductMapsController.GetByCountry Method

Metoda umożliwia pobranie korelacji towarów dla wskaznego kraju i aktywnego sklepu.

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

[GET] /api/OssProductMap?countryId=id_kraju

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 GetByCountry ( _
 countryId As Integer _
As IHttpActionResult

C#

IHttpActionResult GetByCountry(
 int countryId
)

Visual C++

IHttpActionResultGetByCountry(
 int countryId
)

JavaScript

function getByCountry(countryId);

Parameters

countryId

Type: System.Int32

[FromUri] Id kraju.

Return Value

Zwraca kolekcję obiektówe ProductMap.

See Also

IOssProductMapsController Interface

IOssProductMapsController Members

Symfonia.WebAPI.Interface.OSS.Interfaces Namespace