POST api/PumpAndroid/SaveBillDet
Request Information
URI Parameters
None.
Body Parameters
BillDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| BillNo | string |
None. |
|
| Name | string |
None. |
|
| SupplierId | integer |
None. |
|
| BillDate | date |
None. |
|
| Code | string |
None. |
|
| ItemId | integer |
None. |
|
| ItemName | string |
None. |
|
| Qty | decimal number |
None. |
|
| Price | decimal number |
None. |
|
| Amt | decimal number |
None. |
|
| Discount | decimal number |
None. |
|
| PaymentModeId | integer |
None. |
|
| CashOperatorId | integer |
None. |
|
| PumpOperatorId | integer |
None. |
|
| PumpId | integer |
None. |
|
| TaxId | integer |
None. |
|
| TaxPer | decimal number |
None. |
|
| ShiftId | integer |
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:59.121608+05:30",
"Code": "sample string 5",
"ItemId": 6,
"ItemName": "sample string 7",
"Qty": 8.1,
"Price": 9.1,
"Amt": 10.1,
"Discount": 11.1,
"PaymentModeId": 12,
"CashOperatorId": 13,
"PumpOperatorId": 14,
"PumpId": 15,
"TaxId": 16,
"TaxPer": 17.1,
"ShiftId": 18,
"DEntryNo": 19
}
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>10.1</Amt> <BillDate>2025-12-06T09:49:59.121608+05:30</BillDate> <BillNo>sample string 1</BillNo> <CashOperatorId>13</CashOperatorId> <Code>sample string 5</Code> <DEntryNo>19</DEntryNo> <Discount>11.1</Discount> <ItemId>6</ItemId> <ItemName>sample string 7</ItemName> <Name>sample string 2</Name> <PaymentModeId>12</PaymentModeId> <Price>9.1</Price> <PumpId>15</PumpId> <PumpOperatorId>14</PumpOperatorId> <Qty>8.1</Qty> <ShiftId>18</ShiftId> <SupplierId>3</SupplierId> <TaxId>16</TaxId> <TaxPer>17.1</TaxPer> </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>