POST api/Vendor/RemoveVendorPruchaseById

Request Information

URI Parameters

None.

Body Parameters

VendorPurchaseViewModel
NameDescriptionTypeAdditional information
vendorpurchasemasterid

integer

None.

vendorinfoid

integer

None.

vendorname

string

None.

billamount

decimal number

None.

billno

string

None.

billdate

date

None.

billdescription

string

None.

financialyearid

integer

None.

isactive

boolean

None.

_local

date

None.

Request Formats

application/json, text/json

Sample:
{
  "_local": "2026-01-29T14:46:11.749905+05:30",
  "vendorpurchasemasterid": 1,
  "vendorinfoid": 2,
  "vendorname": "sample string 3",
  "billamount": 4.0,
  "billno": "sample string 5",
  "billdate": "2026-01-29T14:46:11.749905+05:30",
  "billdescription": "sample string 7",
  "financialyearid": 8,
  "isactive": true
}

application/xml, text/xml

Sample:
<VendorPurchaseViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/polymech_api.Models">
  <_local>2026-01-29T14:46:11.749905+05:30</_local>
  <billamount>4</billamount>
  <billdate>2026-01-29T14:46:11.749905+05:30</billdate>
  <billdescription>sample string 7</billdescription>
  <billno>sample string 5</billno>
  <financialyearid>8</financialyearid>
  <isactive>true</isactive>
  <vendorinfoid>2</vendorinfoid>
  <vendorname>sample string 3</vendorname>
  <vendorpurchasemasterid>1</vendorpurchasemasterid>
</VendorPurchaseViewModel>

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>