POST api/Purchase/SaveBulkPayment

Request Information

URI Parameters

None.

Body Parameters

BulkPaymentModel
NameDescriptionTypeAdditional information
VendorId

integer

None.

PaymentDate

date

None.

PaymentMode

string

None.

PayThrough

string

None.

Payments

Collection of PaymentItem

None.

Request Formats

application/json, text/json

Sample:
{
  "VendorId": 1,
  "PaymentDate": "2026-08-11T19:45:29.5431384-07:00",
  "PaymentMode": "sample string 3",
  "PayThrough": "sample string 4",
  "Payments": [
    {
      "BillId": 1,
      "PaidAmount": 2.0
    },
    {
      "BillId": 1,
      "PaidAmount": 2.0
    }
  ]
}

application/xml, text/xml

Sample:
<BulkPaymentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webapp2.Controllers">
  <PayThrough>sample string 4</PayThrough>
  <PaymentDate>2026-08-11T19:45:29.5431384-07:00</PaymentDate>
  <PaymentMode>sample string 3</PaymentMode>
  <Payments>
    <PaymentItem>
      <BillId>1</BillId>
      <PaidAmount>2</PaidAmount>
    </PaymentItem>
    <PaymentItem>
      <BillId>1</BillId>
      <PaidAmount>2</PaidAmount>
    </PaymentItem>
  </Payments>
  <VendorId>1</VendorId>
</BulkPaymentModel>

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.