POST api/PumpAndroid/SaveBills/{name}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| name | string |
None. |
Body Parameters
Bills| Name | Description | Type | Additional information |
|---|---|---|---|
| BillNo | string |
None. |
|
| BillDate | date |
None. |
|
| BillDate1 | date |
None. |
|
| Code | string |
None. |
|
| ShiftId | integer |
None. |
|
| SupplierID | integer |
None. |
|
| Name | string |
None. |
|
| IndentNo | string |
None. |
|
| VehicleNo | string |
None. |
|
| TotalAmount | decimal number |
None. |
|
| PumpId | integer |
None. |
|
| CashOperatorId | integer |
None. |
|
| PumpOperatorId | integer |
None. |
|
| PaymentModeID | integer |
None. |
|
| AmountReceived | decimal number |
None. |
|
| CBillNo | string |
None. |
|
| RoundingMode | string |
None. |
|
| TokenMode | string |
None. |
|
| Denomination | string |
None. |
|
| AdvanceAmt | decimal number |
None. |
|
| TimeOfAction | string |
None. |
|
| DEntryNo | integer |
None. |
|
| EnteredDate | string |
None. |
|
| AlteredDate | string |
None. |
|
| EnteredBy | string |
None. |
|
| AlteredBy | string |
None. |
|
| ShiftName | string |
None. |
|
| Mo | integer |
None. |
|
| Ye | integer |
None. |
|
| Da | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"BillNo": "sample string 1",
"BillDate": "2025-12-06T09:49:58.4940593+05:30",
"BillDate1": "2025-12-06T09:49:58.4940593+05:30",
"Code": "sample string 4",
"ShiftId": 5,
"SupplierID": 6,
"Name": "sample string 7",
"IndentNo": "sample string 8",
"VehicleNo": "sample string 9",
"TotalAmount": 10.1,
"PumpId": 11,
"CashOperatorId": 12,
"PumpOperatorId": 13,
"PaymentModeID": 14,
"AmountReceived": 15.1,
"CBillNo": "sample string 16",
"RoundingMode": "sample string 17",
"TokenMode": "sample string 18",
"Denomination": "sample string 19",
"AdvanceAmt": 20.1,
"TimeOfAction": "sample string 21",
"DEntryNo": 22,
"EnteredDate": "sample string 23",
"AlteredDate": "sample string 24",
"EnteredBy": "sample string 25",
"AlteredBy": "sample string 26",
"ShiftName": "sample string 27",
"Mo": 28,
"Ye": 29,
"Da": 30
}
application/xml, text/xml
Sample:
<Bills xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApp.Models"> <AdvanceAmt>20.1</AdvanceAmt> <AlteredBy>sample string 26</AlteredBy> <AlteredDate>sample string 24</AlteredDate> <AmountReceived>15.1</AmountReceived> <BillDate>2025-12-06T09:49:58.4940593+05:30</BillDate> <BillDate1>2025-12-06T09:49:58.4940593+05:30</BillDate1> <BillNo>sample string 1</BillNo> <CBillNo>sample string 16</CBillNo> <CashOperatorId>12</CashOperatorId> <Code>sample string 4</Code> <DEntryNo>22</DEntryNo> <Da>30</Da> <Denomination>sample string 19</Denomination> <EnteredBy>sample string 25</EnteredBy> <EnteredDate>sample string 23</EnteredDate> <IndentNo>sample string 8</IndentNo> <Mo>28</Mo> <Name>sample string 7</Name> <PaymentModeID>14</PaymentModeID> <PumpId>11</PumpId> <PumpOperatorId>13</PumpOperatorId> <RoundingMode>sample string 17</RoundingMode> <ShiftId>5</ShiftId> <ShiftName>sample string 27</ShiftName> <SupplierID>6</SupplierID> <TimeOfAction>sample string 21</TimeOfAction> <TokenMode>sample string 18</TokenMode> <TotalAmount>10.1</TotalAmount> <VehicleNo>sample string 9</VehicleNo> <Ye>29</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>