POST api/PurchaseMaster
Request Information
URI Parameters
None.
Body Parameters
tblPurchaseMaster| Name | Description | Type | Additional information |
|---|---|---|---|
| BMID | integer |
None. |
|
| BillNo | integer |
None. |
|
| Invoice | string |
None. |
|
| BillDate | date |
None. |
|
| BillType | string |
None. |
|
| PartyId | integer |
None. |
|
| TotalAmount | decimal number |
None. |
|
| Remarks | string |
None. |
|
| TaxAmount | decimal number |
None. |
|
| Surcharge | decimal number |
None. |
|
| Discount | decimal number |
None. |
|
| Freight | decimal number |
None. |
|
| Labour | decimal number |
None. |
|
| Others | decimal number |
None. |
|
| Round | decimal number |
None. |
|
| NetAmount | decimal number |
None. |
|
| Recieved | decimal number |
None. |
|
| Balance | decimal number |
None. |
|
| TQty | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"BMID": 1,
"BillNo": 1,
"Invoice": "sample string 2",
"BillDate": "2025-12-10T09:54:47.9211303+05:30",
"BillType": "sample string 4",
"PartyId": 1,
"TotalAmount": 1.0,
"Remarks": "sample string 5",
"TaxAmount": 1.0,
"Surcharge": 1.0,
"Discount": 1.0,
"Freight": 1.0,
"Labour": 1.0,
"Others": 1.0,
"Round": 1.0,
"NetAmount": 1.0,
"Recieved": 1.0,
"Balance": 1.0,
"TQty": 1.0
}
application/xml, text/xml
Sample:
<tblPurchaseMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/handyman.Models"> <BMID>1</BMID> <Balance>1</Balance> <BillDate>2025-12-10T09:54:47.9211303+05:30</BillDate> <BillNo>1</BillNo> <BillType>sample string 4</BillType> <Discount>1</Discount> <Freight>1</Freight> <Invoice>sample string 2</Invoice> <Labour>1</Labour> <NetAmount>1</NetAmount> <Others>1</Others> <PartyId>1</PartyId> <Recieved>1</Recieved> <Remarks>sample string 5</Remarks> <Round>1</Round> <Surcharge>1</Surcharge> <TQty>1</TQty> <TaxAmount>1</TaxAmount> <TotalAmount>1</TotalAmount> </tblPurchaseMaster>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |