Skip to main content

POST /data-service-notifications/v1/{mpid}/send

Sends an IF-024 notification to the data service for one supplier MPAN.

Supported event codes:

  • SN-Vacant
  • SN-NoComms
  • SN-RemoteEnabled
  • SN-RemoteDisabled
  • SN-OffPeakDec

Request​

Method and path:

  • POST /data-service-notifications/v1/{mpid}/send

Headers:

  • X-API-KEY (required): string, API key used for tenant authorization.
  • X-IDEMPOTENCY-KEY (required): string idempotency key.

Path parameters:

  • mpid (required): string supplier MPID.

Body schema:

  • Data service notification request object

Example: remote enable notification

{
"mpan_core": 1234567890123,
"event_code": "SN-RemoteEnabled",
"supplier_notification_effective_from_date": "2026-03-20T00:00:00+00:00",
"supplier_notification_expiry_date": null,
"additional_information": "Remote comms restored after engineer visit.",
"meter_id": "A1B2C3D4E5"
}

Example: off-peak declaration

{
"mpan_core": 1234567890123,
"event_code": "SN-OffPeakDec",
"off_peak_declarations": [
{
"off_peak_declaration_date": "2026-03-19T00:00:00+00:00",
"off_peak_declaration_proportion": 35
}
]
}

Response​

Success:

  • 202 Accepted
  • Body: SupplierProcessResponseSchema; the request is queued for asynchronous processing.
{
"request_id": "72f30f06-afcc-4ad8-8c1f-78e556ea9cbc",
"request_type": "data-service-notification",
"request_status": "Pending",
"initiated_by": "ABCD_SUP",
"description": null,
"created_at": "2026-03-20T08:22:04+00:00",
"last_updated_at": "2026-03-20T08:22:04+00:00",
"mpan_core": 1234567890123
}

Other documented responses from route logic:

  • 401 when the API key or supplier context is invalid.
  • 409 conflict; the exception title is returned as plain text.
  • 422 validation error.
  • 428 missing X-IDEMPOTENCY-KEY from shared idempotency handling.
  • 500 processing failure.

Field-level constraints: