Sage.PL.WebAPI.Interface.FKF.Documents.Interfaces Namespace > IFKDocumentsController Interface > IFKDocumentsController Methods > GetFromAccountingBooks Method > GetFromAccountingBooks Method (Int32, Nullable(DateTime), Nullable(DateTime)) | | Drukuj |
.NET Framework Class Library
IFKDocumentsController.GetFromAccountingBooks Method (Int32, Nullable(DateTime), Nullable(DateTime))
Metoda umożliwia pobranie wszystkich dokumentów z ksiąg z podanego przedziału czasowego dla roku o podanym id.
[GET] /api/FKDocuments/AccountingBooks?yearId=id_roku&dateFrom=data_od&dateTo=data_do
Namespace: Sage.PL.WebAPI.Interface.FKF.Documents.Interfaces
Assembly: Sage.PL.WebAPI.Interface.FKF.Documents (in Sage.PL.WebAPI.Interface.FKF.Documents.dll) Version: 24.2.1.0 (24.2.1.0)
Visual Basic |
Function GetFromAccountingBooks ( _ |
C# |
IHttpActionResult GetFromAccountingBooks( |
Visual C++ |
IHttpActionResult^ GetFromAccountingBooks( |
JavaScript |
function getFromAccountingBooks(yearId, dateFrom, dateTo); |
yearId
Type: System.Int32
[FromUri] Id roku.
dateFrom (Optional)
Type: System.Nullable(DateTime)
[FromUri] Data od przedziału czasowego. W przypadku, gdy parametr nie zostanie podany wyszukane zostaną wszystkie dokumenty 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 dokumenty od wskazanej daty od. Data paramteru powinna zostać podana w formacie yyyy-MM-dd.
Zwraca kolekcję obiektów dokumentu DocumentListElement.
IFKDocumentsController Interface
IFKDocumentsController Members