Sage.PL.WebAPI.Interface.Products.Interfaces Namespace > IProductsController Interface > IProductsController Methods > Get Method  > Get Method (Int32)

Drukuj

.NET Framework Class Library

IProductsController.Get Method (Int32)

Metoda umożliwia pobranie towaru o podanym id.

[GET] /api/Products?id=id_towaru

Namespace: Sage.PL.WebAPI.Interface.Products.Interfaces

Assembly:  Sage.PL.WebAPI.Interface.Products (in Sage.PL.WebAPI.Interface.Products.dll) Version: 24.2.1.0 (24.2.1.0)

Syntax

Visual Basic

Function Get ( _
 id As Integer _
As IHttpActionResult

C#

IHttpActionResult Get(
 int id
)

Visual C++

IHttpActionResultGet(
 int id
)

JavaScript

function get(id);

Parameters

id

Type: System.Int32

[FromUri] Id towaru.

Return Value

Zwraca obiekt towaru Product.

See Also

IProductsController Interface

IProductsController Members

Get Overload

Sage.PL.WebAPI.Interface.Products.Interfaces Namespace