Sage.PL.WebAPI.Interface.Sales.Interfaces Namespace > ISalesController Interface > ISalesController Methods > GetCorrection Method  > GetCorrection Method (String, Boolean)

Drukuj

.NET Framework Class Library

ISalesController.GetCorrection Method (String, Boolean)

Metoda umożliwia pobranie korekty dokumentu sprzedaży o podanym numerze dokumentu. Obsługiwane są dokumenty sprzedaży o charakterze: DXK, PRK, SRK, RKS, RXK, FVMK, FKS, FKW, SKK, SKWK, WKS i WDTK.

[GET] /api/Sales/Correction?number=numer_korekty_dokumentu

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

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

Syntax

Visual Basic

Function GetCorrection ( _
 number As String, _
 Optional buffer As Boolean = False _
As IHttpActionResult

C#

IHttpActionResult GetCorrection(
 string number,
 bool buffer = false
)

Visual C++

IHttpActionResultGetCorrection(
 Stringnumber,
 bool buffer = false
)

JavaScript

function getCorrection(numberbuffer);

Parameters

number

Type: System.String

[FromUri] Numer korekty dokumentu sprzedaży.

buffer (Optional)

Type: System.Boolean

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

Return Value

Zwraca obiekt dokumentu sprzedaży SaleCorrection.

See Also

ISalesController Interface

ISalesController Members

GetCorrection Overload

Sage.PL.WebAPI.Interface.Sales.Interfaces Namespace