POST api/PurchaseBill/VendorPaymentSalesBill

Request Information

URI Parameters

None.

Body Parameters

PurchaseBillList
NameDescriptionTypeAdditional information
vendorname

string

None.

vendorinfoid

integer

None.

vendorpurchasemasterid

integer

None.

vendorpaymentmasterid

integer

None.

totalbillamount

decimal number

None.

totalpaidamount

decimal number

None.

financialyearid

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "vendorname": "sample string 1",
  "vendorinfoid": 2,
  "vendorpurchasemasterid": 3,
  "vendorpaymentmasterid": 4,
  "totalbillamount": 5.0,
  "totalpaidamount": 6.0,
  "financialyearid": 7
}

application/xml, text/xml

Sample:
<PurchaseBillList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/polymech_api.Models">
  <financialyearid>7</financialyearid>
  <totalbillamount>5</totalbillamount>
  <totalpaidamount>6</totalpaidamount>
  <vendorinfoid>2</vendorinfoid>
  <vendorname>sample string 1</vendorname>
  <vendorpaymentmasterid>4</vendorpaymentmasterid>
  <vendorpurchasemasterid>3</vendorpurchasemasterid>
</PurchaseBillList>

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>