Sage.PL.WebAPI.Interface.BankAccounts.Interfaces Namespace > IBankAccountsController Interface > IBankAccountsController Methods > GetListByContractor Method  > GetListByContractor Method (Int32)

Drukuj

.NET Framework Class Library

IBankAccountsController.GetListByContractor Method (Int32)

Metoda umożliwia pobranie listy rachunków bankowych kontrahenta o podanym id.

[GET] /api/BankAccounts?contractorId=id_kontrahenta

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

Assembly:  Sage.PL.WebAPI.Interface.BankAccounts (in Sage.PL.WebAPI.Interface.BankAccounts.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 BankAccount.

See Also

IBankAccountsController Interface

IBankAccountsController Members

GetListByContractor Overload

Sage.PL.WebAPI.Interface.BankAccounts.Interfaces Namespace