Skip to main content

Reading

Represents information about a reading.

type Reading {
id: ID!
type: ReadingType
source: ReadingSource
reading: Decimal
consumption: Decimal
readingAt: Date
periodStartAt: Date
periodEndAt: Date
meter: Meter
meterAverage3: Decimal
meterAverage6: Decimal
meterAverage12: Decimal
invoice: Invoice
property: Property
status: ReadingStatus
creator: User
createdAt: DateTimeTz!
updatedAt: DateTimeTz!
deletedAt: DateTimeTz
}

Fields​

Reading.id ● ID! non-null scalar​

Reading's unique identifier.

Reading.type ● ReadingType enum​

The reading's type.

Reading.source ● ReadingSource enum​

The reading's source.

Reading.reading ● Decimal scalar​

The reading's reading.

Reading.consumption ● Decimal scalar​

The reading's consumption since the reading it is measured from. Empty for an initial or a control reading, which measure none of their own.

Reading.readingAt ● Date scalar​

The date when the reading was taken.

Reading.periodStartAt ● Date scalar​

The date when the reading period started.

Reading.periodEndAt ● Date scalar​

The date when the reading period ended.

Reading.meter ● Meter object​

The reading's meter.

Reading.meterAverage3 ● Decimal scalar​

The current 3-month average consumption of the reading's meter.

Reading.meterAverage6 ● Decimal scalar​

The current 6-month average consumption of the reading's meter.

Reading.meterAverage12 ● Decimal scalar​

The current 12-month average consumption of the reading's meter.

Reading.invoice ● Invoice object​

The reading's invoice.

Reading.property ● Property object​

The reading's property.

Reading.status ● ReadingStatus enum​

The reading's status.

Reading.creator ● User object​

The user who created this reading.

Reading.createdAt ● DateTimeTz! non-null scalar​

The date and time when the reading was created.

Reading.updatedAt ● DateTimeTz! non-null scalar​

The date and time when the reading was last updated.

Reading.deletedAt ● DateTimeTz scalar​

The date and time when the reading was deleted.

Returned By​

createReading mutation ● deleteReading mutation ● reading query ● restoreReading mutation ● updateReading mutation

Member Of​

InvoiceLine object ● Meter object ● ReadingEdge object