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.
| Property | Type | Description | Example |
|---|---|---|---|
parentAccountId | objectid | The ID of this sub-meter's parent | true |
type | string | The utility type this account corresponds to. See object Utility Type | electricity |
meterUnits | string | The meter units. This is used to determine the default unit for readings and non-cumulative data. See object Unit | kwh |
thirdParties | array | An array of objects which contain the ID other systems may refer to this account as. Import when importing/exporting to other systems. |
