Sage.PL.WebAPI.Interface.Payments.Interfaces Namespace > IPaymentsController Interface > IPaymentsController Methods > Get Method  > Get Method (String, Boolean)

Drukuj

.NET Framework Class Library

IPaymentsController.Get Method (String, Boolean)

Metoda umożliwia pobranie dokumentu płatności o podanym numerze dokumentu. Obsługiwane są dokumenty płatności o charakterze: KP, KW, BP, BW, IP, IW, TR+ i TR-.

[GET] /api/Payments?number=numer_dokumentu

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

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

Syntax

Visual Basic

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

C#

IHttpActionResult Get(
 string number,
 bool buffer = false
)

Visual C++

IHttpActionResultGet(
 Stringnumber,
 bool buffer = false
)

JavaScript

function get(numberbuffer);

Parameters

number

Type: System.String

[FromUri] Numer dokumentu płatności.

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 płatności Payment.

See Also

IPaymentsController Interface

IPaymentsController Members

Get Overload

Sage.PL.WebAPI.Interface.Payments.Interfaces Namespace