POST api/PumpAndroid/SaveDailyTransactionCoPump/{code}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| code | string |
None. |
Body Parameters
DailyTransactionCoPump| Name | Description | Type | Additional information |
|---|---|---|---|
| GRNNo | string |
None. |
|
| GRNDate | date |
None. |
|
| GRNDate1 | date |
None. |
|
| Code | string |
None. |
|
| ShiftId | integer |
None. |
|
| PumpId | integer |
None. |
|
| CashOperatorId | integer |
None. |
|
| PumpName | string |
None. |
|
| MeterOpening | decimal number |
None. |
|
| Testing | decimal number |
None. |
|
| MeterClosing | decimal number |
None. |
|
| FinalReading | decimal number |
None. |
|
| Mo | integer |
None. |
|
| Ye | integer |
None. |
|
| Da | integer |
None. |
|
| DEntryNo | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"GRNNo": "sample string 1",
"GRNDate": "2025-12-06T09:48:01.2003677+05:30",
"GRNDate1": "2025-12-06T09:48:01.2003677+05:30",
"Code": "sample string 4",
"ShiftId": 5,
"PumpId": 6,
"CashOperatorId": 7,
"PumpName": "sample string 8",
"MeterOpening": 9.1,
"Testing": 10.1,
"MeterClosing": 11.1,
"FinalReading": 12.1,
"Mo": 13,
"Ye": 14,
"Da": 15,
"DEntryNo": 16
}
application/xml, text/xml
Sample:
<DailyTransactionCoPump xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApp.Models"> <CashOperatorId>7</CashOperatorId> <Code>sample string 4</Code> <DEntryNo>16</DEntryNo> <Da>15</Da> <FinalReading>12.1</FinalReading> <GRNDate>2025-12-06T09:48:01.2003677+05:30</GRNDate> <GRNDate1>2025-12-06T09:48:01.2003677+05:30</GRNDate1> <GRNNo>sample string 1</GRNNo> <MeterClosing>11.1</MeterClosing> <MeterOpening>9.1</MeterOpening> <Mo>13</Mo> <PumpId>6</PumpId> <PumpName>sample string 8</PumpName> <ShiftId>5</ShiftId> <Testing>10.1</Testing> <Ye>14</Ye> </DailyTransactionCoPump>
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>