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)
Visual Basic |
Function GetCorrectionSequence ( _ |
C# |
IHttpActionResult GetCorrectionSequence( |
Visual C++ |
IHttpActionResult^ GetCorrectionSequence( |
JavaScript |
function getCorrectionSequence(documentNumber, buffer); |
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.
Zwraca kolekcję obiektów PurchaseDocumentCorrection.
IPurchasesController Interface