POST api/billing/newreading
Request Information
URI Parameters
None.
Body Parameters
WaterBilling| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CompanyID | integer |
None. |
|
| CustomerType | string |
None. |
|
| LicenseNo | string |
None. |
|
| CompanyName | string |
None. |
|
| MeterNo | integer |
None. |
|
| ReadingDate | date |
None. |
|
| Size | string |
None. |
|
| LastReading | string |
None. |
|
| CurrentReading | string |
None. |
|
| Consumption | string |
None. |
|
| Gallons | string |
None. |
|
| ConsumptionFee | decimal number |
None. |
|
| active | boolean |
None. |
|
| string |
None. |
||
| PaidAmount | decimal number |
None. |
|
| RemainingAmount | decimal number |
None. |
|
| InvoiceNo | string |
None. |
|
| Comments | string |
None. |
|
| TotalAmount | decimal number |
None. |
|
| BillDate | date |
None. |
|
| Location | string |
None. |
|
| Coordinate_X | string |
None. |
|
| Coordinate_Y | string |
None. |
|
| UserId | integer |
None. |
|
| DeviceId | string |
None. |
|
| InputType | string |
None. |
|
| AttachedFileName | string |
None. |
|
| BillPaidStatus | string |
None. |
|
| Status | string |
None. |
|
| PaymentRefNo | string |
None. |
|
| PerformaInvoiceNo | string |
None. |
|
| AssignedToInspector | integer |
None. |
|
| BasisCurrentReadingDate | string |
None. |
|
| SocialFee | decimal number |
None. |
|
| OtherFee | decimal number |
None. |
|
| VatId | integer |
None. |
|
| VatRate | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"CompanyID": 1,
"CustomerType": "sample string 2",
"LicenseNo": "sample string 3",
"CompanyName": "sample string 4",
"MeterNo": 1,
"ReadingDate": "2025-12-16T00:50:12.3614765+04:00",
"Size": "sample string 5",
"LastReading": "sample string 6",
"CurrentReading": "sample string 7",
"Consumption": "sample string 8",
"Gallons": "sample string 9",
"ConsumptionFee": 1.1,
"active": true,
"Email": "sample string 10",
"PaidAmount": 1.1,
"RemainingAmount": 1.1,
"InvoiceNo": "sample string 11",
"Comments": "sample string 12",
"TotalAmount": 1.1,
"BillDate": "2025-12-16T00:50:12.3614765+04:00",
"Location": "sample string 13",
"Coordinate_X": "sample string 14",
"Coordinate_Y": "sample string 15",
"UserId": 1,
"DeviceId": "sample string 16",
"InputType": "sample string 17",
"AttachedFileName": "sample string 18",
"BillPaidStatus": "sample string 19",
"Status": "sample string 20",
"PaymentRefNo": "sample string 21",
"PerformaInvoiceNo": "sample string 22",
"AssignedToInspector": 1,
"BasisCurrentReadingDate": "sample string 23",
"SocialFee": 1.0,
"OtherFee": 1.0,
"VatId": 1,
"VatRate": 1.0
}
application/xml, text/xml
Sample:
<WaterBilling xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FEAWebServices.EF"> <AssignedToInspector>1</AssignedToInspector> <AttachedFileName>sample string 18</AttachedFileName> <BasisCurrentReadingDate>sample string 23</BasisCurrentReadingDate> <BillDate>2025-12-16T00:50:12.3614765+04:00</BillDate> <BillPaidStatus>sample string 19</BillPaidStatus> <Comments>sample string 12</Comments> <CompanyID>1</CompanyID> <CompanyName>sample string 4</CompanyName> <Consumption>sample string 8</Consumption> <ConsumptionFee>1.1</ConsumptionFee> <Coordinate_X>sample string 14</Coordinate_X> <Coordinate_Y>sample string 15</Coordinate_Y> <CurrentReading>sample string 7</CurrentReading> <CustomerType>sample string 2</CustomerType> <DeviceId>sample string 16</DeviceId> <Email>sample string 10</Email> <Gallons>sample string 9</Gallons> <Id>1</Id> <InputType>sample string 17</InputType> <InvoiceNo>sample string 11</InvoiceNo> <LastReading>sample string 6</LastReading> <LicenseNo>sample string 3</LicenseNo> <Location>sample string 13</Location> <MeterNo>1</MeterNo> <OtherFee>1</OtherFee> <PaidAmount>1.1</PaidAmount> <PaymentRefNo>sample string 21</PaymentRefNo> <PerformaInvoiceNo>sample string 22</PerformaInvoiceNo> <ReadingDate>2025-12-16T00:50:12.3614765+04:00</ReadingDate> <RemainingAmount>1.1</RemainingAmount> <Size>sample string 5</Size> <SocialFee>1</SocialFee> <Status>sample string 20</Status> <TotalAmount>1.1</TotalAmount> <UserId>1</UserId> <VatId>1</VatId> <VatRate>1</VatRate> <active>true</active> </WaterBilling>
multipart/form-data
Sample:
<WaterBilling xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FEAWebServices.EF"><AssignedToInspector>1</AssignedToInspector><AttachedFileName>sample string 18</AttachedFileName><BasisCurrentReadingDate>sample string 23</BasisCurrentReadingDate><BillDate>2025-12-16T00:50:12.3614765+04:00</BillDate><BillPaidStatus>sample string 19</BillPaidStatus><Comments>sample string 12</Comments><CompanyID>1</CompanyID><CompanyName>sample string 4</CompanyName><Consumption>sample string 8</Consumption><ConsumptionFee>1.1</ConsumptionFee><Coordinate_X>sample string 14</Coordinate_X><Coordinate_Y>sample string 15</Coordinate_Y><CurrentReading>sample string 7</CurrentReading><CustomerType>sample string 2</CustomerType><DeviceId>sample string 16</DeviceId><Email>sample string 10</Email><Gallons>sample string 9</Gallons><Id>1</Id><InputType>sample string 17</InputType><InvoiceNo>sample string 11</InvoiceNo><LastReading>sample string 6</LastReading><LicenseNo>sample string 3</LicenseNo><Location>sample string 13</Location><MeterNo>1</MeterNo><OtherFee>1</OtherFee><PaidAmount>1.1</PaidAmount><PaymentRefNo>sample string 21</PaymentRefNo><PerformaInvoiceNo>sample string 22</PerformaInvoiceNo><ReadingDate>2025-12-16T00:50:12.3614765+04:00</ReadingDate><RemainingAmount>1.1</RemainingAmount><Size>sample string 5</Size><SocialFee>1</SocialFee><Status>sample string 20</Status><TotalAmount>1.1</TotalAmount><UserId>1</UserId><VatId>1</VatId><VatRate>1</VatRate><active>true</active></WaterBilling>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |