POST api/invoice/addpayment?documentId={documentId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
documentId

integer

Required

Body Parameters

PaymentInfo
NameDescriptionTypeAdditional information
PaymentId

integer

None.

Amount

decimal number

None.

PaymentMethod

string

None.

TransactionId

string

None.

PaidDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "PaymentId": 1,
  "Amount": 2.0,
  "PaymentMethod": "sample string 3",
  "TransactionId": "sample string 4",
  "PaidDate": "2026-04-17T20:39:25.1267634+05:30"
}

application/xml, text/xml

Sample:
<DocumentBase.PaymentInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Quotation.Bo">
  <Amount>2</Amount>
  <PaidDate>2026-04-17T20:39:25.1267634+05:30</PaidDate>
  <PaymentId>1</PaymentId>
  <PaymentMethod>sample string 3</PaymentMethod>
  <TransactionId>sample string 4</TransactionId>
</DocumentBase.PaymentInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.