GET api/Meters?UnitId={UnitId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
UnitId

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Meter
NameDescriptionTypeAdditional information
MeterId

integer

None.

LegacyMeterId

integer

None.

UtilityId

integer

None.

MeterNum

string

Max length: 50

ERTNum

string

Max length: 50

UnitId

integer

None.

LocalDescription

string

Max length: 200

ReadSequence

integer

None.

MeterCode

integer

None.

Multiplier

decimal number

None.

ReadDecimals

string

Max length: 1

DateCreated

date

None.

DateUpdated

date

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

PropertyId

integer

None.

PropertyName

string

None.

UnitAddress

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "MeterId": 1,
    "LegacyMeterId": 1,
    "UtilityId": 2,
    "MeterNum": "sample string 3",
    "ERTNum": "sample string 4",
    "UnitId": 1,
    "LocalDescription": "sample string 5",
    "ReadSequence": 1,
    "MeterCode": 1,
    "Multiplier": 1.1,
    "ReadDecimals": "sample string 6",
    "DateCreated": "2020-01-26T07:56:17.4452042+00:00",
    "DateUpdated": "2020-01-26T07:56:17.4452042+00:00",
    "CreatedBy": 1,
    "UpdatedBy": 1,
    "PropertyId": 7,
    "PropertyName": "sample string 8",
    "UnitAddress": "sample string 9"
  },
  {
    "MeterId": 1,
    "LegacyMeterId": 1,
    "UtilityId": 2,
    "MeterNum": "sample string 3",
    "ERTNum": "sample string 4",
    "UnitId": 1,
    "LocalDescription": "sample string 5",
    "ReadSequence": 1,
    "MeterCode": 1,
    "Multiplier": 1.1,
    "ReadDecimals": "sample string 6",
    "DateCreated": "2020-01-26T07:56:17.4452042+00:00",
    "DateUpdated": "2020-01-26T07:56:17.4452042+00:00",
    "CreatedBy": 1,
    "UpdatedBy": 1,
    "PropertyId": 7,
    "PropertyName": "sample string 8",
    "UnitAddress": "sample string 9"
  }
]

application/xml, text/xml

Sample:
<ArrayOfMeter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <Meter>
    <CreatedBy>1</CreatedBy>
    <DateCreated>2020-01-26T07:56:17.4452042+00:00</DateCreated>
    <DateUpdated>2020-01-26T07:56:17.4452042+00:00</DateUpdated>
    <ERTNum>sample string 4</ERTNum>
    <LegacyMeterId>1</LegacyMeterId>
    <LocalDescription>sample string 5</LocalDescription>
    <MeterCode>1</MeterCode>
    <MeterId>1</MeterId>
    <MeterNum>sample string 3</MeterNum>
    <Multiplier>1.1</Multiplier>
    <PropertyId>7</PropertyId>
    <PropertyName>sample string 8</PropertyName>
    <ReadDecimals>sample string 6</ReadDecimals>
    <ReadSequence>1</ReadSequence>
    <UnitAddress>sample string 9</UnitAddress>
    <UnitId>1</UnitId>
    <UpdatedBy>1</UpdatedBy>
    <UtilityId>2</UtilityId>
  </Meter>
  <Meter>
    <CreatedBy>1</CreatedBy>
    <DateCreated>2020-01-26T07:56:17.4452042+00:00</DateCreated>
    <DateUpdated>2020-01-26T07:56:17.4452042+00:00</DateUpdated>
    <ERTNum>sample string 4</ERTNum>
    <LegacyMeterId>1</LegacyMeterId>
    <LocalDescription>sample string 5</LocalDescription>
    <MeterCode>1</MeterCode>
    <MeterId>1</MeterId>
    <MeterNum>sample string 3</MeterNum>
    <Multiplier>1.1</Multiplier>
    <PropertyId>7</PropertyId>
    <PropertyName>sample string 8</PropertyName>
    <ReadDecimals>sample string 6</ReadDecimals>
    <ReadSequence>1</ReadSequence>
    <UnitAddress>sample string 9</UnitAddress>
    <UnitId>1</UnitId>
    <UpdatedBy>1</UpdatedBy>
    <UtilityId>2</UtilityId>
  </Meter>
</ArrayOfMeter>