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
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.
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.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