Skip to main content

Data Service Notifications Schema Reference

Shared Parameters

FieldLocationRequiredTypeFormat / Constraints
X-API-KEYHeaderYesstringNot specified in schema
X-IDEMPOTENCY-KEYHeaderYesstringNon-empty string
mpidPathYesstringSupplier MPID

Request Schema

FieldRequiredTypeFormat / ConstraintsNotes
mpan_coreYesintegerPositive 13-digit integer
event_codeYesstring(enum)One of SN-Vacant, SN-NoComms, SN-RemoteEnabled, SN-RemoteDisabled, SN-OffPeakDec
supplier_notification_effective_from_dateConditionalstring(datetime) or nullISO 8601 datetimeRequired for all current event codes except SN-OffPeakDec.
supplier_notification_expiry_dateNostring(datetime) or nullISO 8601 datetime
additional_informationNostring or nullMax 2000 chars
meter_idConditionalstring or nullMax 10 charsRequired for SN-RemoteEnabled and SN-RemoteDisabled.
off_peak_declarationsConditionalarray or nullMust be a non-empty list for SN-OffPeakDec

OffPeakDeclaration

FieldRequiredTypeFormat / Constraints
off_peak_declaration_dateYesstring(datetime)ISO 8601 datetime
off_peak_declaration_proportionYesinteger0-100

Additional validation:

  • Extra/unknown fields are rejected.
  • off_peak_declarations items must be objects with both required fields.

Response Schema

FieldRequiredTypeFormat / Constraints
message_idYesstringMessage identifier
recipients_dip_idYesarray of stringDistributor DIP IDs
statusYesstringNot specified
sent_datetimeYesstringISO 8601 datetime string
mpan_coreYesinteger13-digit MPAN core
event_codeYesstringEchoes the sent event code