POST api/Payment/LoadPaymentsDetailsById

Request Information

URI Parameters

None.

Body Parameters

PaymentMasterViewModel
NameDescriptionTypeAdditional information
paymentmasterid

integer

None.

customerinfoid

integer

None.

paymenttypeid

integer

None.

paymentamount

decimal number

None.

paymentnumber

string

None.

companyname

string

None.

paymentnote

string

None.

chequenumber

string

None.

paymentmethod

string

None.

paymentdate

date

None.

paymentchequedate

date

None.

isactive

boolean

None.

financialyearid

integer

None.

invoicepaymentdetails

Collection of InvoicePaymentdetails

None.

_local

date

None.

_local2

date

None.

Request Formats

application/json, text/json

Sample:
{
  "_local": "2026-01-29T14:46:12.7030759+05:30",
  "_local2": "2026-01-29T14:46:12.7030759+05:30",
  "paymentmasterid": 1,
  "customerinfoid": 2,
  "paymenttypeid": 3,
  "paymentamount": 4.1,
  "paymentnumber": "sample string 5",
  "companyname": "sample string 6",
  "paymentnote": "sample string 7",
  "chequenumber": "sample string 8",
  "paymentmethod": "sample string 9",
  "paymentdate": "2026-01-29T14:46:12.7030759+05:30",
  "paymentchequedate": "2026-01-29T14:46:12.7030759+05:30",
  "isactive": true,
  "financialyearid": 13,
  "invoicepaymentdetails": [
    {
      "invoicemasterid": 1,
      "paymentmasterid": 2,
      "paymentdetailsid": 3,
      "paymentamount": 4.1,
      "paidamount": 5.1,
      "ispartial": true
    },
    {
      "invoicemasterid": 1,
      "paymentmasterid": 2,
      "paymentdetailsid": 3,
      "paymentamount": 4.1,
      "paidamount": 5.1,
      "ispartial": true
    }
  ]
}

application/xml, text/xml

Sample:
<PaymentMasterViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/polymech_api.Models">
  <_local>2026-01-29T14:46:12.7030759+05:30</_local>
  <_local2>2026-01-29T14:46:12.7030759+05:30</_local2>
  <chequenumber>sample string 8</chequenumber>
  <companyname>sample string 6</companyname>
  <customerinfoid>2</customerinfoid>
  <financialyearid>13</financialyearid>
  <invoicepaymentdetails>
    <InvoicePaymentdetails>
      <invoicemasterid>1</invoicemasterid>
      <ispartial>true</ispartial>
      <paidamount>5.1</paidamount>
      <paymentamount>4.1</paymentamount>
      <paymentdetailsid>3</paymentdetailsid>
      <paymentmasterid>2</paymentmasterid>
    </InvoicePaymentdetails>
    <InvoicePaymentdetails>
      <invoicemasterid>1</invoicemasterid>
      <ispartial>true</ispartial>
      <paidamount>5.1</paidamount>
      <paymentamount>4.1</paymentamount>
      <paymentdetailsid>3</paymentdetailsid>
      <paymentmasterid>2</paymentmasterid>
    </InvoicePaymentdetails>
  </invoicepaymentdetails>
  <isactive>true</isactive>
  <paymentamount>4.1</paymentamount>
  <paymentchequedate>2026-01-29T14:46:12.7030759+05:30</paymentchequedate>
  <paymentdate>2026-01-29T14:46:12.7030759+05:30</paymentdate>
  <paymentmasterid>1</paymentmasterid>
  <paymentmethod>sample string 9</paymentmethod>
  <paymentnote>sample string 7</paymentnote>
  <paymentnumber>sample string 5</paymentnumber>
  <paymenttypeid>3</paymenttypeid>
</PaymentMasterViewModel>

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.

errorCode

integer

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

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