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

NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional 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-05-19T23:33:07.5576586+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-05-19T23:33:07.5576586+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}}}}