Account (Meter)

An account in Etainabl represents a physical meter within a building. It can be either a primary meter or a sub-meter.

Example

{
  "_id": "5ff5a96b0686f773b8123123",
  "name": "Landlord Supply",
  "siteCode": "",
  "automaticMeterRead": false,
  "status": "inactive",
  "parentAccountId": null,
  "companyId": "5ff5a96b0686f773b8123123",
  "assetId": "5ff5a96b0686f773b8123123",
  "supplierRef": "3006528030",
  "type": "gas",
  "meterPointNumber": "0380102D1123123123123",
  "batchId": "52ee4432-935c-40d7-8156-d47d0ac510a1",
  "supplierId": "5ff5a96b0686f773b8123123",
  "userSub": "auth0|5ff5a96b0686f773b8123123",
  "entityId": "5ff5a96b0686f773b8123123",
  "meterSerialNumber": "L90L91389",
  "meterUser": "landlord",
  "meterUnits": "kwh",
  "capacity": "",
  "meterOperator": "",
  "meterOperatorExpiryDate": null,
  "meterOperatorType": "",
  "floorAreaUnit": "metric",
  "reportingType": "likeForLike",
  "thirdParties": [
    {
      "_id": "5ff5a96b0686f773b8123123",
      "name": "aThirdParty",
      "deviceId": "DB12_04"
    },
    {
      "_id": "5ff5a96b0686f773b8123123",
      "name": "anotherThirdParty",
      "deviceId": "meter444"
    }
  ]
}

To distinguish between a primary meter and a sub meter, use the parentAccountId parameter. This will be null if the meter is a primary meter.

PropertyTypeDescriptionExample
parentAccountIdobjectidThe ID of this sub-meter's parenttrue
typestringThe utility type this account corresponds to. See object Utility Typeelectricity
meterUnitsstringThe meter units. This is used to determine the default unit for readings and non-cumulative data. See object Unitkwh
thirdPartiesarrayAn array of objects which contain the ID other systems may refer to this account as. Import when importing/exporting to other systems.