Sage.PL.WebAPI.Interface.FKF.Calculations.Interfaces Namespace > IFKCalculationsController Interface > IFKCalculationsController Methods > GetDueByEmployee Method 

Drukuj

.NET Framework Class Library

IFKCalculationsController.GetDueByEmployee Method

Metoda umożliwia pobranie wszystkich należności z podanego przedziału czasowego dla pracownika o podanej pozycji.

[GET] /api/FKCalculations/Filter/Due?employeePosition=pozycja_kontrahenta&dateFrom=data_od&dateTo=data_do

Namespace: Sage.PL.WebAPI.Interface.FKF.Calculations.Interfaces

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

Syntax

Visual Basic

Function GetDueByEmployee ( _
 employeePosition As Integer, _
 Optional dateFrom As Nullable(Of DateTime) = Nothing, _
 Optional dateTo As Nullable(Of DateTime) = Nothing _
As IHttpActionResult

C#

IHttpActionResult GetDueByEmployee(
 int employeePosition,
 Nullable<DateTimedateFrom = null,
 Nullable<DateTimedateTo = null
)

Visual C++

IHttpActionResultGetDueByEmployee(
 int employeePosition,
 Nullable<DateTimedateFrom = nullptr,
 Nullable<DateTimedateTo = nullptr
)

JavaScript

function getDueByEmployee(employeePositiondateFromdateTo);

Parameters

employeePosition

Type: System.Int32

[FromUri] Pozycja pracownika.

dateFrom (Optional)

Type: System.Nullable(DateTime)

[FromUri] Data od przedziału czasowego. W przypadku, gdy parametr nie zostanie podany wyszukane zostaną wszystkie rozrachunki do wskazanej daty do. Data paramteru powinna zostać podana w formacie yyyy-MM-dd.

dateTo (Optional)

Type: System.Nullable(DateTime)

[FromUri] Data do przedziału czasowego. W przypadku, gdy parametr nie zostanie podany wyszukane zostaną wszystkie rozrachunki od wskazanej daty od. Data paramteru powinna zostać podana w formacie yyyy-MM-dd.

Return Value

Zwraca kolekcję obiektów rozrachunku CalculationListElement.

See Also

IFKCalculationsController Interface

IFKCalculationsController Members

Sage.PL.WebAPI.Interface.FKF.Calculations.Interfaces Namespace