POST api/Vendor/UpdateVendorPaymentById

Request Information

URI Parameters

None.

Body Parameters

VendorPaymentViewModel
NameDescriptionTypeAdditional information
vendorpurchasemasterid

integer

None.

vendorpaymentmasterid

integer

None.

paymenttypeid

integer

None.

chequeno

string

None.

vendorname

string

None.

vendorpaymentnote

string

None.

vendorinfoid

integer

None.

paidamount

decimal number

None.

paymentdate

date

None.

chequedate

date

None.

paymentno

string

None.

paymenttype

string

None.

financialyearid

integer

None.

isactive

boolean

None.

_local

date

None.

Request Formats

application/json, text/json

Sample:
{
  "_local": "2026-01-29T14:46:12.2499517+05:30",
  "vendorpurchasemasterid": 1,
  "vendorpaymentmasterid": 2,
  "paymenttypeid": 3,
  "chequeno": "sample string 4",
  "vendorname": "sample string 5",
  "vendorpaymentnote": "sample string 6",
  "vendorinfoid": 7,
  "paidamount": 8.0,
  "paymentdate": "2026-01-29T14:46:12.2499517+05:30",
  "chequedate": "2026-01-29T14:46:12.2499517+05:30",
  "paymentno": "sample string 11",
  "paymenttype": "sample string 12",
  "financialyearid": 13,
  "isactive": true
}

application/xml, text/xml

Sample:
<VendorPaymentViewModel 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.2499517+05:30</_local>
  <chequedate>2026-01-29T14:46:12.2499517+05:30</chequedate>
  <chequeno>sample string 4</chequeno>
  <financialyearid>13</financialyearid>
  <isactive>true</isactive>
  <paidamount>8</paidamount>
  <paymentdate>2026-01-29T14:46:12.2499517+05:30</paymentdate>
  <paymentno>sample string 11</paymentno>
  <paymenttype>sample string 12</paymenttype>
  <paymenttypeid>3</paymenttypeid>
  <vendorinfoid>7</vendorinfoid>
  <vendorname>sample string 5</vendorname>
  <vendorpaymentmasterid>2</vendorpaymentmasterid>
  <vendorpaymentnote>sample string 6</vendorpaymentnote>
  <vendorpurchasemasterid>1</vendorpurchasemasterid>
</VendorPaymentViewModel>

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>