POST api/PurchasePayment/LoadPurchasePaymentDetailsById

Request Information

URI Parameters

None.

Body Parameters

PurchasePaymentViewModel
NameDescriptionTypeAdditional information
billpaymentmasterid

integer

None.

billmasterid

integer

None.

billpaymentdate

date

None.

billpaymentnumber

string

None.

billpaymentdetailsid

integer

None.

companyid

integer

None.

vendorinfoid

integer

None.

billpaymentmethodid

integer

None.

personalnote

string

None.

billpaymentcheckno

string

None.

billpaymentcheckdate

date

None.

billpaymentcheckamount

decimal number

None.

ischeck

boolean

None.

financialyearid

integer

None.

billtotalamountpaid

decimal number

None.

billpaymentdetails

Collection of BillPaymentDetails

None.

_local

date

None.

_chequelocal

date

None.

Request Formats

application/json, text/json

Sample:
{
  "_local": "2025-12-11T19:04:55.6510113+05:30",
  "_chequelocal": "2025-12-11T19:04:55.6510113+05:30",
  "billpaymentmasterid": 1,
  "billmasterid": 2,
  "billpaymentdate": "2025-12-11T19:04:55.6510113+05:30",
  "billpaymentnumber": "sample string 4",
  "billpaymentdetailsid": 5,
  "companyid": 6,
  "vendorinfoid": 7,
  "billpaymentmethodid": 8,
  "personalnote": "sample string 9",
  "billpaymentcheckno": "sample string 10",
  "billpaymentcheckdate": "2025-12-11T19:04:55.6510113+05:30",
  "billpaymentcheckamount": 12.1,
  "ischeck": true,
  "financialyearid": 14,
  "billtotalamountpaid": 15.1,
  "billpaymentdetails": [
    {
      "billpaymentmasterid": 1,
      "billpaymentdetailsid": 2,
      "billmasterid": 3,
      "billamountpaid": 4.1,
      "ispartial": true,
      "amountdue": 6.1,
      "maxdueamount": 7.1
    },
    {
      "billpaymentmasterid": 1,
      "billpaymentdetailsid": 2,
      "billmasterid": 3,
      "billamountpaid": 4.1,
      "ispartial": true,
      "amountdue": 6.1,
      "maxdueamount": 7.1
    }
  ]
}

application/xml, text/xml

Sample:
<PurchasePaymentViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Kantaserp.Models">
  <_chequelocal>2025-12-11T19:04:55.6510113+05:30</_chequelocal>
  <_local>2025-12-11T19:04:55.6510113+05:30</_local>
  <billmasterid>2</billmasterid>
  <billpaymentcheckamount>12.1</billpaymentcheckamount>
  <billpaymentcheckdate>2025-12-11T19:04:55.6510113+05:30</billpaymentcheckdate>
  <billpaymentcheckno>sample string 10</billpaymentcheckno>
  <billpaymentdate>2025-12-11T19:04:55.6510113+05:30</billpaymentdate>
  <billpaymentdetails>
    <BillPaymentDetails>
      <amountdue>6.1</amountdue>
      <billamountpaid>4.1</billamountpaid>
      <billmasterid>3</billmasterid>
      <billpaymentdetailsid>2</billpaymentdetailsid>
      <billpaymentmasterid>1</billpaymentmasterid>
      <ispartial>true</ispartial>
      <maxdueamount>7.1</maxdueamount>
    </BillPaymentDetails>
    <BillPaymentDetails>
      <amountdue>6.1</amountdue>
      <billamountpaid>4.1</billamountpaid>
      <billmasterid>3</billmasterid>
      <billpaymentdetailsid>2</billpaymentdetailsid>
      <billpaymentmasterid>1</billpaymentmasterid>
      <ispartial>true</ispartial>
      <maxdueamount>7.1</maxdueamount>
    </BillPaymentDetails>
  </billpaymentdetails>
  <billpaymentdetailsid>5</billpaymentdetailsid>
  <billpaymentmasterid>1</billpaymentmasterid>
  <billpaymentmethodid>8</billpaymentmethodid>
  <billpaymentnumber>sample string 4</billpaymentnumber>
  <billtotalamountpaid>15.1</billtotalamountpaid>
  <companyid>6</companyid>
  <financialyearid>14</financialyearid>
  <ischeck>true</ischeck>
  <personalnote>sample string 9</personalnote>
  <vendorinfoid>7</vendorinfoid>
</PurchasePaymentViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResultViewModel
NameDescriptionTypeAdditional information
status

boolean

None.

message

string

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "status": true,
  "message": "sample string 2",
  "data": {}
}

application/xml, text/xml

Sample:
<HttpResultViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Kantaserp.Models">
  <data />
  <message>sample string 2</message>
  <status>true</status>
</HttpResultViewModel>