POST api/PumpAndroid/SaveBillIndent/{code}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| code | string |
None. |
Body Parameters
IndentDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| IndentNo | string |
None. |
|
| VehicleNo | string |
None. |
|
| CBillNo | string |
None. |
|
| Denomination | string |
None. |
|
| BillNo | string |
None. |
|
| BillDate | date |
None. |
|
| Code | string |
None. |
|
| SupplierID | integer |
None. |
|
| IndentId | integer |
None. |
|
| PaymentModeID | integer |
None. |
|
| BarcodeNo | string |
None. |
|
| TokenMode | string |
None. |
|
| MeterRead | decimal number |
None. |
|
| Mileage | decimal number |
None. |
|
| MeterReadPrev | decimal number |
None. |
|
| MilageQty | decimal number |
None. |
|
| DEntryNo | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"IndentNo": "sample string 1",
"VehicleNo": "sample string 2",
"CBillNo": "sample string 3",
"Denomination": "sample string 4",
"BillNo": "sample string 5",
"BillDate": "2025-12-06T09:49:56.4127863+05:30",
"Code": "sample string 7",
"SupplierID": 8,
"IndentId": 9,
"PaymentModeID": 10,
"BarcodeNo": "sample string 11",
"TokenMode": "sample string 12",
"MeterRead": 13.1,
"Mileage": 14.1,
"MeterReadPrev": 15.1,
"MilageQty": 16.1,
"DEntryNo": 17
}
application/xml, text/xml
Sample:
<IndentDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApp.Models"> <BarcodeNo>sample string 11</BarcodeNo> <BillDate>2025-12-06T09:49:56.4127863+05:30</BillDate> <BillNo>sample string 5</BillNo> <CBillNo>sample string 3</CBillNo> <Code>sample string 7</Code> <DEntryNo>17</DEntryNo> <Denomination>sample string 4</Denomination> <IndentId>9</IndentId> <IndentNo>sample string 1</IndentNo> <MeterRead>13.1</MeterRead> <MeterReadPrev>15.1</MeterReadPrev> <MilageQty>16.1</MilageQty> <Mileage>14.1</Mileage> <PaymentModeID>10</PaymentModeID> <SupplierID>8</SupplierID> <TokenMode>sample string 12</TokenMode> <VehicleNo>sample string 2</VehicleNo> </IndentDetails>
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>