Readings Schema Reference
Shared Parameters
| Field | Location | Required | Type | Format / Constraints |
|---|---|---|---|---|
X-API-KEY | Header | Yes | string | Required for tenant and supplier authorization |
X-IDEMPOTENCY-KEY | Header (POST /send) | Yes | string | Required idempotency key |
mpid | Path | Yes | string | Supplier MPID |
GET Query Parameters (ReadingsQueryParameters)
Used by GET /readings/v1/{mpid}.
| Field | Required | Type | Format / Constraints |
|---|---|---|---|
reading_datetime_from | Yes | string(datetime) | Timezone-aware ISO 8601 datetime; inclusive lower bound on the reading timestamp |
mpan_id | No | string or null | MPAN core registered to the supplier |
meter_serial | No | string or null | Exact meter serial number |
register_id | No | string or null | Exact register ID; requires meter_serial and excludes cumulative readings |
page | No | integer | Minimum 1; defaults to 1 |
page_size | No | integer | 1–100; defaults to 50 |
sort_direction | No | string(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.
| Field | Required | Type | Format / Constraints |
|---|---|---|---|
data | Yes | array | Reading objects below; empty when no readings match |
pagination | Yes | object or null | Nullable in the schema; retrieval supplies an object |
pagination.page | Yes (when object present) | integer | Effective page number |
pagination.page_size | Yes (when object present) | integer | Effective page size |
pagination.total_count | Yes (when object present) | integer | Matching readings before pagination |
Reading Objects
All listed fields are present, including nullable fields.
| Field | Type | Format / Constraints |
|---|---|---|
reading_id | string(UUID) | Reading identifier; unique with reading_kind |
mpan_core | string | MPAN core |
meter_serial | string | Meter serial number |
meter_type | string(enum) | traditional_meter, advanced_meter, or smart_meter |
register_id | string or null | Null for cumulative readings |
reading_kind | string(enum) | register or cumulative; Traditional and Advanced meters return either kind, Smart meters return cumulative readings |
reading_datetime | string(datetime) | Reading timestamp used for filtering and sorting |
received_on | string(datetime) | Timestamp recorded in SSI |
reading_type | string(enum) | Always present; see returned values |
reading_value | string | Decimal representation preserved |
reading_method | string or null | Nullable for advanced register readings; a string for other kinds |
md_reset_datetime | string(datetime) or null | Maximum-demand reset timestamp |
number_of_md_resets | decimal string or null | Number of maximum-demand resets |
meter_reading_flag | boolean or null | Meter reading flag |
site_visit_check_code | string or null | Site 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
| Field | Required | Type | Format / Constraints | Notes |
|---|---|---|---|---|
mpan_core | Yes | string | Exactly 13 numeric digits | The current request represents MPAN core as a string. |
reading_type | Yes | string(enum) | See values below | Selects the outbound reading message type. |
meter_readings | Conditional | array | Required and non-empty for the multi-meter form; items are MeterReadingSubmissionV1 | Duplicate meter_id values are rejected. |
meter_id | Conditional | string | Required for the single-meter form; 1–10 characters | Accepted only when meter_readings is omitted. |
cumulative_reading | Conditional | object or null | CumulativeReadingV1; required in the single-meter form unless non-empty register_readings is supplied | Accepted only when meter_readings is omitted. |
register_readings | Conditional | array or null | Items are RegisterReadingV1; required and non-empty in the single-meter form unless cumulative_reading is supplied | Accepted 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:
ReadingCOSReadingRemvReadingRemoteReadingInstlReadingEnergisationChgReadingCORReadingOnSiteReadingOverrideDSEstimateSupplierAgreedCOS
Extra fields are rejected at every level.
MeterReadingSubmissionV1
| Field | Required | Type | Format / Constraints |
|---|---|---|---|
meter_id | Yes | string | 1–10 characters |
cumulative_reading | Conditional | object or null | CumulativeReadingV1; required unless non-empty register_readings is supplied |
register_readings | Conditional | array or null | Items 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
| Field | Required | Type | Format / Constraints |
|---|---|---|---|
reading_datetime | Yes | string(datetime) | ISO 8601 datetime |
reading_value | Yes | string | Signed pattern ^-?\d{1,9}\.\d{3}$ |
reading_method | Yes | string(enum) | One of A, C, E, S, X, Y |
site_visit_check_code | No | string or null | Exactly 2 characters when supplied |
RegisterReadingV1
| Field | Required | Type | Format / Constraints |
|---|---|---|---|
register_id | Yes | string | 1-2 characters |
reading_datetime | Yes | string(datetime) | ISO 8601 datetime |
reading_value | Yes | string | Signed pattern ^-?\d{1,9}\.\d{3}$ |
reading_method | Yes | string(enum) | One of A, C, E, S, X, Y |
Reading Submission Response
| Field | Required | Type | Format / Constraints |
|---|---|---|---|
request_id | Yes | string | UUID |
request_type | No | string | Process type; defaults at schema level |
request_status | Yes | string(enum) | Pending, Success, Failed |
initiated_by | No | string or null | Initiating participant when available |
description | No | string or null | Process description |
created_at | Yes | string(datetime) | ISO 8601 datetime |
last_updated_at | Yes | string(datetime) | ISO 8601 datetime |
mpan_core | No | integer or null | MPAN core when available |
selected_message_type | Yes | string | Selected 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 |