Skip to main content

Readings Schema Reference

Shared Parameters​

FieldLocationRequiredTypeFormat / Constraints
X-API-KEYHeaderYesstringRequired for tenant and supplier authorization
X-IDEMPOTENCY-KEYHeader (POST /send)YesstringRequired idempotency key
mpidPathYesstringSupplier MPID

GET Query Parameters (ReadingsQueryParameters)​

Used by GET /readings/v1/{mpid}.

FieldRequiredTypeFormat / Constraints
reading_datetime_fromYesstring(datetime)Timezone-aware ISO 8601 datetime; inclusive lower bound on the reading timestamp
mpan_idNostring or nullMPAN core registered to the supplier
meter_serialNostring or nullExact meter serial number
register_idNostring or nullExact register ID; requires meter_serial and excludes cumulative readings
pageNointegerMinimum 1; defaults to 1
page_sizeNointeger1–100; defaults to 50
sort_directionNostring(enum)asc or desc; defaults to desc

Pagination parameters may be supplied independently.

Reading Retrieval Response​

The endpoint returns 200 OK with data and pagination, including empty results. Each data item represents one register or cumulative reading.

FieldRequiredTypeFormat / Constraints
dataYesarrayReading objects below; empty when no readings match
paginationYesobject or nullNullable in the schema; retrieval supplies an object
pagination.pageYes (when object present)integerEffective page number
pagination.page_sizeYes (when object present)integerEffective page size
pagination.total_countYes (when object present)integerMatching readings before pagination

Reading Objects​

All listed fields are present, including nullable fields.

FieldTypeFormat / Constraints
reading_idstring(UUID)Reading identifier; unique with reading_kind
mpan_corestringMPAN core
meter_serialstringMeter serial number
meter_typestring(enum)traditional_meter, advanced_meter, or smart_meter
register_idstring or nullNull for cumulative readings
reading_kindstring(enum)register or cumulative; Traditional and Advanced meters return either kind, Smart meters return cumulative readings
reading_datetimestring(datetime)Reading timestamp used for filtering and sorting
received_onstring(datetime)Timestamp recorded in SSI
reading_typestring(enum)Always present; see returned values
reading_valuestringDecimal representation preserved
reading_methodstring or nullNullable for advanced register readings; a string for other kinds
md_reset_datetimestring(datetime) or nullMaximum-demand reset timestamp
number_of_md_resetsdecimal string or nullNumber of maximum-demand resets
meter_reading_flagboolean or nullMeter reading flag
site_visit_check_codestring or nullSite visit check code

Advanced register readings additionally contain nullable string fields meter_reading_reason_code, meter_reading_status, and site_visit_check_code_additional_information. Other reading kinds omit these fields.

Returned reading_type values​

The retrieval response always returns one of these values:

  • Event/reading classifications: ReadingCOS, ReadingRemv, ReadingRemote, ReadingInstl, ReadingEnergisationChg, ReadingCOR, ReadingOnSite, ReadingOverride, DSEstimate, SupplierAgreedCOS, NotApplicable.
  • One-character classifications: A, C, D, F, I, M, O, P, Q, R, S, T, U, V, W, X, Y, Z.

For advanced register readings, SSI returns the stored event code. For cumulative readings, it returns the event code unless it is NotApplicable, then the stored reading type, and otherwise NotApplicable. For traditional register readings, it returns the stored reading type or NotApplicable.

Retrieval is subject to the readings feature-availability flag.

Reading Submission Request​

FieldRequiredTypeFormat / ConstraintsNotes
mpan_coreYesstringExactly 13 numeric digitsThe current request represents MPAN core as a string.
reading_typeYesstring(enum)See values belowSelects the outbound reading message type.
meter_readingsConditionalarrayRequired and non-empty for the multi-meter form; items are MeterReadingSubmissionV1Duplicate meter_id values are rejected.
meter_idConditionalstringRequired for the single-meter form; 1–10 charactersAccepted only when meter_readings is omitted.
cumulative_readingConditionalobject or nullCumulativeReadingV1; required in the single-meter form unless non-empty register_readings is suppliedAccepted only when meter_readings is omitted.
register_readingsConditionalarray or nullItems are RegisterReadingV1; required and non-empty in the single-meter form unless cumulative_reading is suppliedAccepted only when meter_readings is omitted; duplicate register_id values are rejected.

Top-level meter_id, cumulative_reading and register_readings remain accepted when meter_readings is omitted, with the same meter-group constraints below. The two forms cannot be combined.

Allowed reading_type values:

  • ReadingCOS
  • ReadingRemv
  • ReadingRemote
  • ReadingInstl
  • ReadingEnergisationChg
  • ReadingCOR
  • ReadingOnSite
  • ReadingOverride
  • DSEstimate
  • SupplierAgreedCOS

Extra fields are rejected at every level.

MeterReadingSubmissionV1​

FieldRequiredTypeFormat / Constraints
meter_idYesstring1–10 characters
cumulative_readingConditionalobject or nullCumulativeReadingV1; required unless non-empty register_readings is supplied
register_readingsConditionalarray or nullItems are RegisterReadingV1; required and non-empty unless cumulative_reading is supplied; duplicate register_id values are rejected within each meter

All meters must use the same outbound transport: Traditional meters use D0010; Smart/Advanced meters use IF-041. Mixed transports return 409.

CumulativeReadingV1​

FieldRequiredTypeFormat / Constraints
reading_datetimeYesstring(datetime)ISO 8601 datetime
reading_valueYesstringSigned pattern ^-?\d{1,9}\.\d{3}$
reading_methodYesstring(enum)One of A, C, E, S, X, Y
site_visit_check_codeNostring or nullExactly 2 characters when supplied

RegisterReadingV1​

FieldRequiredTypeFormat / Constraints
register_idYesstring1-2 characters
reading_datetimeYesstring(datetime)ISO 8601 datetime
reading_valueYesstringSigned pattern ^-?\d{1,9}\.\d{3}$
reading_methodYesstring(enum)One of A, C, E, S, X, Y

Reading Submission Response​

FieldRequiredTypeFormat / Constraints
request_idYesstringUUID
request_typeNostringProcess type; defaults at schema level
request_statusYesstring(enum)Pending, Success, Failed
initiated_byNostring or nullInitiating participant when available
descriptionNostring or nullProcess description
created_atYesstring(datetime)ISO 8601 datetime
last_updated_atYesstring(datetime)ISO 8601 datetime
mpan_coreNointeger or nullMPAN core when available
selected_message_typeYesstringSelected outbound message name/version, with an event suffix where applicable; Traditional assets select D0010/002; Smart/Advanced assets select IF-041 for the submitted event