POST api/Consumptions

Creates a new consumption record for an active meter and customer.

Request Information

URI Parameters

None.

Body Parameters

The consumption data to be created.

Consumption
NameDescriptionTypeAdditional 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 creation operation.

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.