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

Drukuj

.NET Framework Class Library

IReservationsController.GetListByContractor Method (String)

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

[GET] /api/Reservations/Filter?contractorCode=kod_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 ( _
 contractorCode As String _
As IHttpActionResult

C#

IHttpActionResult GetListByContractor(
 string contractorCode
)

Visual C++

IHttpActionResultGetListByContractor(
 StringcontractorCode
)

JavaScript

function getListByContractor(contractorCode);

Parameters

contractorCode

Type: System.String

[FromUri] Kod kontrahenta.

Return Value

Zwraca kolekcję obiektów ReservationListElement.

See Also

IReservationsController Interface

IReservationsController Members

GetListByContractor Overload

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