PUT api/Consumos
Updates as existing consumo
Request Information
URI Parameters
None.
Body Parameters
The consumo data to update.
Consumo| Name | Description | Type | Additional information |
|---|---|---|---|
| IdConsumo | integer |
None. |
|
| IdContador | integer |
None. |
|
| Data | date |
None. |
|
| LeituraAtual | decimal number |
None. |
|
| ConsumoCalculado | decimal number |
None. |
|
| IdFatura | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"IdConsumo": 1,
"IdContador": 1,
"Data": "2026-08-30T14:28:09.9459009-05:00",
"LeituraAtual": 4.0,
"ConsumoCalculado": 5.0,
"IdFatura": 1
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
The update result.
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.