MeterReadingCreateRequest
RequestSent in requests. Its values are closed: anything not listed is refused.
Attributes
3A reading to record.
9 attributes of data
Why the reading exists; defaults to regular.
One of regular, owner_reported, check, owner_change, late_correction, estimated, other
How the value was obtained; defaults to manual.
One of manual, assisted, file, provider, remote, estimate
Who supplied the value, as the submitting system names them (e.g. a resident in a connected app). Recorded, never used for access.
Your own id for the reading, unique per organization; on_conflict resolves a create against it.
What a create does when a record of the same resource already holds the sent external_ref. error: 409 EXTERNAL_REF_EXISTS with existing_id. return: 200 with the existing record, unchanged.
One of error, return, update
Details
update: apply the sent fields to it as a PATCH would and answer 200; refused like a PATCH when the record is no longer editable.
Record the reading although it does not fit between its neighbouring readings (lower than the one before it or higher than the one after), keeping the reason it is sent with, the way a confirmed row of the web app's readings grid is recorded; e.g. a migration carrying a source's confirmed readings.
Details
Without it such a reading is 409 METER_READING_NOT_MONOTONE. It confirms only the order: a reading outside the meter's life, on a taken day or in an invoiced period is refused all the same. Omitted: false.