GET api/customers/{customerId}/contracts/{contractNo}/meters/{meterId}/wattmeter/v2
Gets the current configuration, data and display type for wattmeter. Authorizes first, then validates the contract, before getting config and data.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| customerId | integer |
Required |
|
| contractNo | integer |
Required |
|
| meterId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Returns wattmeter display type, data and config
WattMeterResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| wattmeterDisplayType | WattmeterType |
None. |
|
| maxMonthWattmeter | WattMeterAndMaxEffect |
None. |
|
| subscribedPowerWattmeter | SubscribedPowerWatmetter |
None. |
Response Formats
application/json, text/json
Sample:
{
"wattmeterDisplayType": 1,
"maxMonthWattmeter": {
"Last": {
"$id": "1",
"ValueTime": "2025-12-24T12:03:53.939049+00:00",
"Value": 1.1,
"TimeSeriesType": 0
},
"ThisMonthMax": {
"$ref": "1"
},
"Max": {
"$ref": "1"
}
},
"subscribedPowerWattmeter": {
"subscribedPower": {
"value": 1.1,
"unit": "sample string 2"
},
"sections": {
"firstSection": {
"from": 1.1,
"to": 2.1
},
"secondSection": {
"from": 1.1,
"to": 2.1
},
"thirdSection": {
"from": 1.1,
"to": 1.1
}
}
}
}
text/html
Sample:
{"wattmeterDisplayType":1,"maxMonthWattmeter":{"Last":{"$id":"1","ValueTime":"2025-12-24T12:03:53.939049+00:00","Value":1.1,"TimeSeriesType":0},"ThisMonthMax":{"$ref":"1"},"Max":{"$ref":"1"}},"subscribedPowerWattmeter":{"subscribedPower":{"value":1.1,"unit":"sample string 2"},"sections":{"firstSection":{"from":1.1,"to":2.1},"secondSection":{"from":1.1,"to":2.1},"thirdSection":{"from":1.1,"to":1.1}}}}