Sage.PL.WebAPI.Interface.Purchases.Interfaces Namespace > IPurchasesController Interface > IPurchasesController Methods > GetCorrection Method  > GetCorrection Method (Int32)

Drukuj

.NET Framework Class Library

IPurchasesController.GetCorrection Method (Int32)

Metoda umożliwia pobranie korekty dokumentu zakupu o podanym id. Obsługiwane są dokumenty zakupu o charakterze: DMK, FMK, FRK, FZK, FWZK, RKZ, ZRK i WNK.

[GET] /api/Purchases/Correction?id=id_korekty_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 GetCorrection ( _
 id As Integer _
As IHttpActionResult

C#

IHttpActionResult GetCorrection(
 int id
)

Visual C++

IHttpActionResultGetCorrection(
 int id
)

JavaScript

function getCorrection(id);

Parameters

id

Type: System.Int32

[FromUri] Id korekty dokumentu zakupu.

Return Value

Zwraca obiekt dokumentu zakupu PurchaseCorrection.

See Also

IPurchasesController Interface

IPurchasesController Members

GetCorrection Overload

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