UpdateReadingInput
Provides the fields and values to use when updating a reading.
input UpdateReadingInput {
id: ID!
meter: ID
status: ReadingStatus
type: ReadingType
source: ReadingSource
reading: Decimal
readingAt: Date
periodStartAt: Date
periodEndAt: Date
}
Fields
UpdateReadingInput.id ● ID! non-null scalar
Specifies the reading to update.
UpdateReadingInput.meter ● ID scalar
The reading's meter.
UpdateReadingInput.status ● ReadingStatus enum
The reading's status.
UpdateReadingInput.type ● ReadingType enum
The reading's type.
UpdateReadingInput.source ● ReadingSource enum
The reading's source.
UpdateReadingInput.reading ● Decimal scalar
The reading's reading.
UpdateReadingInput.readingAt ● Date scalar
The date when the reading was taken.
UpdateReadingInput.periodStartAt ● Date scalar
The date when the reading period started.
UpdateReadingInput.periodEndAt ● Date scalar
The date when the reading period ended.
Member Of
updateReading mutation