Sage.PL.WebAPI.Interface.FKF.Documents.Interfaces Namespace > IFKDocumentsController Interface > IFKDocumentsController Methods > GetDocumentTypes Method  > GetDocumentTypes Method (Int32)

Drukuj

.NET Framework Class Library

IFKDocumentsController.GetDocumentTypes Method (Int32)

Metoda umożliwia pobranie wszystkich typów dokumentów obowiązujących w roku o podanym id.

[GET] /api/FKDocuments/DocumentTypes?yearId=id_roku

[FromUri] Id roku.

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)

Syntax

Visual Basic

Function GetDocumentTypes ( _
 yearId As Integer _
As IHttpActionResult

C#

IHttpActionResult GetDocumentTypes(
 int yearId
)

Visual C++

IHttpActionResultGetDocumentTypes(
 int yearId
)

JavaScript

function getDocumentTypes(yearId);

Parameters

yearId

Type: System.Int32

Return Value

Zwraca kolekcję obiektów DocumentType.

See Also

IFKDocumentsController Interface

IFKDocumentsController Members

GetDocumentTypes Overload

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