POST api/watermeter/update-reading

Request Information

URI Parameters

None.

Body Parameters

UpdateWaterMeterRequest
NameDescriptionTypeAdditional information
TenantId

integer

None.

CompanyId

integer

None.

ReadingDate

date

None.

CurrentReading

decimal number

None.

UserId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TenantId": 1,
  "CompanyId": 2,
  "ReadingDate": "2025-12-07T16:56:46.5921834-08:00",
  "CurrentReading": 4.1,
  "UserId": 5
}

application/xml, text/xml

Sample:
<DBOperationsController.UpdateWaterMeterRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KODY_MPesaCallbackAPI.Controllers">
  <CompanyId>2</CompanyId>
  <CurrentReading>4.1</CurrentReading>
  <ReadingDate>2025-12-07T16:56:46.5921834-08:00</ReadingDate>
  <TenantId>1</TenantId>
  <UserId>5</UserId>
</DBOperationsController.UpdateWaterMeterRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.