Symfonia.WebAPI.Interface.OSS.Interfaces Namespace > IOssProductController Interface > IOssProductController Methods > GetByCountry Method | | Drukuj |
.NET Framework Class Library
IOssProductController.GetByCountry Method
Metoda umożliwia pobranie wszystkich zdefiniowanych towarów dla wskazanego kraju i aktywnego sklepu.
Sklep ustalany jest na podstawie nazwy urządzenia aktywnej sesji.
[GET] /api/OssProduct?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)
Visual Basic |
Function GetByCountry ( _ |
C# |
IHttpActionResult GetByCountry( |
Visual C++ |
IHttpActionResult^ GetByCountry( |
JavaScript |
function getByCountry(countryId); |
countryId
Type: System.Int32
[FromUri] Id kraju.
Zwraca obiekt CountryProductList.