POST api/PumpAndroid/SaveBillDet/{name}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| name | string |
None. |
Body Parameters
BillDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| BillNo | string |
None. |
|
| Name | string |
None. |
|
| SupplierId | integer |
None. |
|
| BillDate | date |
None. |
|
| ItemId | integer |
None. |
|
| ItemName | string |
None. |
|
| Qty | decimal number |
None. |
|
| Price | decimal number |
None. |
|
| Amt | decimal number |
None. |
|
| DEntryNo | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"BillNo": "sample string 1",
"Name": "sample string 2",
"SupplierId": 3,
"BillDate": "2025-12-06T09:49:53.2997091+05:30",
"ItemId": 5,
"ItemName": "sample string 6",
"Qty": 7.1,
"Price": 8.1,
"Amt": 9.1,
"DEntryNo": 10
}
application/xml, text/xml
Sample:
<BillDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApp.Models"> <Amt>9.1</Amt> <BillDate>2025-12-06T09:49:53.2997091+05:30</BillDate> <BillNo>sample string 1</BillNo> <DEntryNo>10</DEntryNo> <ItemId>5</ItemId> <ItemName>sample string 6</ItemName> <Name>sample string 2</Name> <Price>8.1</Price> <Qty>7.1</Qty> <SupplierId>3</SupplierId> </BillDetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Response| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| Status | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Message": "sample string 1",
"Status": 2
}
application/xml, text/xml
Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApp.Models"> <Message>sample string 1</Message> <Status>2</Status> </Response>