PUT api/Consumptions/{id}
Updates an existing consumption record when it has not been invoiced.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The consumption identifier. |
integer |
Required |
Body Parameters
Consumption| Name | Description | Type | Additional information |
|---|---|---|---|
| ConsumptionId | integer |
None. |
|
| MeterId | integer |
None. |
|
| MeterReading | integer |
None. |
|
| ReadingDate | date |
None. |
|
| ConsumedVolume | decimal number |
None. |
|
| Notes | string |
None. |
|
| Invoices | Collection of Invoice |
None. |
|
| Meter | Meter |
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 consumption update operation.
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.