Sage.PL.WebAPI.Interface.Purchases.Interfaces Namespace > IPurchasesController Interface > IPurchasesController Methods > GetPZ Method  > GetPZ Method (String, Boolean)

Drukuj

.NET Framework Class Library

IPurchasesController.GetPZ Method (String, Boolean)

Metoda umożliwia pobranie wszystkich wystawionych PZ dla dokumentu zakupu o podanym numerze.

[GET] /api/Purchases/PZ?documentNumber=numer_dokumentu

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

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

Syntax

Visual Basic

Function GetPZ ( _
 documentNumber As String, _
 Optional buffer As Boolean = False _
As IHttpActionResult

C#

IHttpActionResult GetPZ(
 string documentNumber,
 bool buffer = false
)

Visual C++

IHttpActionResultGetPZ(
 StringdocumentNumber,
 bool buffer = false
)

JavaScript

function getPZ(documentNumberbuffer);

Parameters

documentNumber

Type: System.String

[FromUri] Numer dokumentu zakupu.

buffer (Optional)

Type: System.Boolean

[FromUri] Czy dokument znajduje się w buforze. W przypadku, gdy parametr nie zostanie podany zostanie wybrany dokument o podanym numerze dokumentu, który nie znajduje się w buforze.

Return Value

Zwraca kolekcję obiektów PurchaseDocumentPZ.

See Also

IPurchasesController Interface

IPurchasesController Members

GetPZ Overload

Sage.PL.WebAPI.Interface.Purchases.Interfaces Namespace