Skip to main content

Metering Changes Schema Reference

This page summarizes the request and response contract for the Metering Changes API.

Headers and Parameters

FieldLocationRequiredTypeFormat / Constraints
X-API-KEYHeaderYesstringUUID format
X-IDEMPOTENCY-KEYHeaderYesstringNon-empty string
X-TEST-MODEHeaderNostringtrue enables test mode
mpidPathYesstringSupplier MPID

Request Schema (MeteringChangesRequestSchema)

FieldRequiredTypeFormat / Constraints
mpan_coreYesintegerExactly 13 digits, numeric
appointment_dateNostring or nullYYYYMMDD; must not be in the past
earliest_appointment_timeNostring or nullHHMMSS
latest_appointment_timeNostring or nullHHMMSS; if both times are provided, must be greater than or equal to earliest_appointment_time
requested_energisation_statusYesstringE or D
additional_informationNostring or nullMax 200 chars
remove_all_metersNoboolean or nullBoolean
retrieval_methodYes in API requestsstringOne of H, M, N, R, S, U
ssc_idNostring or nullMax 4 chars
metering_system_nsfcNostring or nullMax 10 chars
communications_methodNostring or nullMax 10 chars

Additional validation:

  • Extra/unknown fields are rejected.
  • retrieval_method is required for API requests.

Response Schema (MeteringChangesResponseSchema)

Used in GET /requests/v1/{mpid} when request_type=metering-changes.

FieldRequiredTypeFormat / Constraints
appointment_dateNostring(date) or nullDate
earliest_appointment_timeNostring(time) or nullTime
latest_appointment_timeNostring(time) or nullTime
requested_energisation_statusYesstringStored value
additional_informationNostring or nullFree text
remove_all_metersNoboolean or nullBoolean
standard_settlement_configurationNostring or nullReturned when available
retrieval_methodNostring or nullReturned when available
metering_system_non_settlement_functionality_codeNostring or nullReturned when available
communications_methodNostring or nullReturned when available
fault_resolution_reportNoobject or nullAdditional failure details when available
notification_of_failureNoobject or nullFailure notification data when available
comms_hub_infoNoobject or nullCommunications hub details when available
smart_readsNoarray or nullSmart read details when available
standard_settlement_configuration_idNostring or nullReturned when available
error_response_messageNostring or nullError details when available
new_meter_detailsNoobject or nullNew meter details when available
removed_meters_detailsNoobject or nullRemoved meter details when available
hh_mtdNoarray, object, or nullHalf-hourly meter technical details when available

Process Response Schema (SupplierProcessResponseSchema)

Used by POST /metering-changes/v1/{mpid}.

FieldRequiredTypeFormat / Constraints
request_idYesstringUUID
request_typeYesstringProcess type name
request_statusYesstring(enum)Pending, Success, Failed
descriptionNostring or nullProcess type description
created_atYesstring(datetime)ISO 8601 datetime
last_updated_atYesstring(datetime)ISO 8601 datetime
mpan_coreYesintegerMPAN core