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)
Visual Basic |
Function GetCorrection ( _ |
C# |
IHttpActionResult GetCorrection( |
Visual C++ |
IHttpActionResult^ GetCorrection( |
JavaScript |
function getCorrection(number, buffer); |
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.
Zwraca obiekt dokumentu sprzedaży SaleCorrection.