POST api/PumpAndroid/SaveBills/{code}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| code | string |
None. |
Body Parameters
Bills| Name | Description | Type | Additional information |
|---|---|---|---|
| BillNo | string |
None. |
|
| BillDate | date |
None. |
|
| BillDate1 | date |
None. |
|
| SupplierID | integer |
None. |
|
| Name | string |
None. |
|
| VehicleNo | string |
None. |
|
| TotalAmount | decimal number |
None. |
|
| TotalQty | decimal number |
None. |
|
| MeterRead | string |
None. |
|
| TimeOfAction | string |
None. |
|
| Mo | integer |
None. |
|
| Ye | integer |
None. |
|
| Da | integer |
None. |
|
| DEntryNo | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"BillNo": "sample string 1",
"BillDate": "2025-12-06T09:48:10.6339355+05:30",
"BillDate1": "2025-12-06T09:48:10.6339355+05:30",
"SupplierID": 4,
"Name": "sample string 5",
"VehicleNo": "sample string 6",
"TotalAmount": 7.1,
"TotalQty": 8.1,
"MeterRead": "sample string 9",
"TimeOfAction": "sample string 10",
"Mo": 11,
"Ye": 12,
"Da": 13,
"DEntryNo": 14
}
application/xml, text/xml
Sample:
<Bills xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApp.Models"> <BillDate>2025-12-06T09:48:10.6339355+05:30</BillDate> <BillDate1>2025-12-06T09:48:10.6339355+05:30</BillDate1> <BillNo>sample string 1</BillNo> <DEntryNo>14</DEntryNo> <Da>13</Da> <MeterRead>sample string 9</MeterRead> <Mo>11</Mo> <Name>sample string 5</Name> <SupplierID>4</SupplierID> <TimeOfAction>sample string 10</TimeOfAction> <TotalAmount>7.1</TotalAmount> <TotalQty>8.1</TotalQty> <VehicleNo>sample string 6</VehicleNo> <Ye>12</Ye> </Bills>
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>