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. Only a SUBMITTED reading can be approved. A reading that is not invoiced yet can be voided, or moved back to SUBMITTED once approved. Only billing marks a reading INVOICED, an invoiced reading keeps its status, and a VOID reading stays void. Sending the status the reading already has changes nothing. Null is refused: leave the field out to keep the status. With automated billing on, approving a REGULAR or FORECAST reading bills it, so it requires the right to bill readings.
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