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

Drukuj

.NET Framework Class Library

IPurchasesController.GetCorrectionSequence Method (String, Boolean)

Metoda umożliwia pobranie łańcucha korekt dokumentu zakupu dla dokumentu o podanym numerze dokumentu.

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

C#

IHttpActionResult GetCorrectionSequence(
 string documentNumber,
 bool buffer = false
)

Visual C++

IHttpActionResultGetCorrectionSequence(
 StringdocumentNumber,
 bool buffer = false
)

JavaScript

function getCorrectionSequence(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 PurchaseDocumentCorrection.

See Also

IPurchasesController Interface

IPurchasesController Members

GetCorrectionSequence Overload

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