POST api/Meters

Creates a new meter for an existing customer.

Request Information

URI Parameters

None.

Body Parameters

The meter data to be created.

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

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.