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

Drukuj

.NET Framework Class Library

IPurchasesController.GetZMW Method (String, Boolean)

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

[GET] /api/Purchases/ZMW?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 GetZMW ( _
 documentNumber As String, _
 Optional buffer As Boolean = False _
As IHttpActionResult

C#

IHttpActionResult GetZMW(
 string documentNumber,
 bool buffer = false
)

Visual C++

IHttpActionResultGetZMW(
 StringdocumentNumber,
 bool buffer = false
)

JavaScript

function getZMW(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

GetZMW Overload

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