Sage.PL.WebAPI.Interface.Reservations.Interfaces Namespace > IReservationsController Interface > IReservationsController Methods > GetListByProduct Method  > GetListByProduct Method (Int32)

Drukuj

.NET Framework Class Library

IReservationsController.GetListByProduct Method (Int32)

Metoda umożliwia pobranie wszystkich rezerwacji na towar o podanym id.

[GET] /api/Reservations/Filter?productId=id_towaru

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

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

Syntax

Visual Basic

Function GetListByProduct ( _
 productId As Integer _
As IHttpActionResult

C#

IHttpActionResult GetListByProduct(
 int productId
)

Visual C++

IHttpActionResultGetListByProduct(
 int productId
)

JavaScript

function getListByProduct(productId);

Parameters

productId

Type: System.Int32

[FromUri] Id towaru.

Return Value

Zwraca kolekcję obiektów ReservationListElement.

See Also

IReservationsController Interface

IReservationsController Members

GetListByProduct Overload

Sage.PL.WebAPI.Interface.Reservations.Interfaces Namespace