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

Drukuj

.NET Framework Class Library

IOwnOrdersController.GetPZ Method (String, Boolean)

Metoda umożliwia pobranie wszystkich wystawionych PZ dla zamówienia własnego o podanym numerze dokumentu.

[GET] /api/OwnOrders/PZ?orderNumber=numer_zamówienia

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

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

Syntax

Visual Basic

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

C#

IHttpActionResult GetPZ(
 string orderNumber,
 bool buffer = false
)

Visual C++

IHttpActionResultGetPZ(
 StringorderNumber,
 bool buffer = false
)

JavaScript

function getPZ(orderNumberbuffer);

Parameters

orderNumber

Type: System.String

[FromUri] Numer zamówienia własnego.

buffer (Optional)

Type: System.Boolean

[FromUri] Czy dokument znajduje się w buforze. W przypadku, gdy parametr nie zostanie podany zostanie wybrane zamówienie własne o podanym numerze dokumentu, które nie znajduje się w buforze.

Return Value

Zwraca kolekcję obiektów OwnOrderPZ.

See Also

IOwnOrdersController Interface

IOwnOrdersController Members

GetPZ Overload

Sage.PL.WebAPI.Interface.OwnOrders.Interfaces Namespace