PUT api/Reading

Request Information

URI Parameters

None.

Body Parameters

Reading
NameDescriptionTypeAdditional information
Id

integer

None.

ReadingDate

date

None.

CurrentReading

integer

None.

MeterId

integer

None.

Invoices

Collection of Invoice

None.

Meter

Meter

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ReadingDate": "2025-08-01T17:30:39.7513372-05:00",
  "CurrentReading": 3,
  "MeterId": 1,
  "Invoices": [
    {
      "Id": 1,
      "IssueDate": "2025-08-01T17:30:39.7513372-05:00",
      "Amount": 3.1,
      "IsPaid": true,
      "CustomerId": 1,
      "ReadingId": 1,
      "Customer": {
        "Id": 1,
        "FirstName": "sample string 2",
        "LastName": "sample string 3",
        "Address": "sample string 4",
        "Phone": 1,
        "Email": "sample string 5",
        "TaxNumber": 1,
        "IsActive": true,
        "Invoices": [],
        "Meters": [
          {
            "Id": 1,
            "Brand": "sample string 2",
            "InstallationDate": "2025-08-01T17:30:39.7513372-05:00",
            "IsActive": true,
            "CustomerId": 1,
            "Readings": []
          }
        ]
      }
    }
  ],
  "Meter": {
    "Id": 1,
    "Brand": "sample string 2",
    "InstallationDate": "2025-08-01T17:30:39.7513372-05:00",
    "IsActive": true,
    "CustomerId": 1,
    "Readings": [],
    "Customer": {
      "Id": 1,
      "FirstName": "sample string 2",
      "LastName": "sample string 3",
      "Address": "sample string 4",
      "Phone": 1,
      "Email": "sample string 5",
      "TaxNumber": 1,
      "IsActive": true,
      "Invoices": [
        {
          "Id": 1,
          "IssueDate": "2025-08-01T17:30:39.7513372-05:00",
          "Amount": 3.1,
          "IsPaid": true,
          "CustomerId": 1,
          "ReadingId": 1
        }
      ],
      "Meters": []
    }
  }
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

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.