PUT api/Meters/{id}
Updates the status of an existing meter.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The meter identifier. |
integer |
Required |
Body Parameters
The new meter status.
Meter| Name | Description | Type | Additional information |
|---|---|---|---|
| MeterId | integer |
None. |
|
| CustomerId | integer |
None. |
|
| InstallationDate | date |
None. |
|
| IsActive | boolean |
None. |
|
| Consumptions | Collection of Consumption |
None. |
|
| Customer | Customer |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
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
The result of the meter update operation.
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.