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

Drukuj

.NET Framework Class Library

IReservationsController.GetListByContractor Method (Int32)

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

[GET] /api/Reservations/Filter?contractorId=id_kontrahenta

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 GetListByContractor ( _
 contractorId As Integer _
As IHttpActionResult

C#

IHttpActionResult GetListByContractor(
 int contractorId
)

Visual C++

IHttpActionResultGetListByContractor(
 int contractorId
)

JavaScript

function getListByContractor(contractorId);

Parameters

contractorId

Type: System.Int32

[FromUri] Id kontrahenta.

Return Value

Zwraca kolekcję obiektów ReservationListElement.

See Also

IReservationsController Interface

IReservationsController Members

GetListByContractor Overload

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