Skip to main content

Loss of Supplier Schema Reference

This page summarizes the request and response contract for the Loss of Supplier API.

Headers and Parameters

FieldLocationRequiredTypeFormat / Constraints
X-API-KEYHeaderYesstringUUID format
X-IDEMPOTENCY-KEYHeader (POST)YesstringNon-empty string
X-TEST-MODEHeader (POST)NostringOptional; "true" enables test mode
mpidPathYesstringSupplier MPID

Invitation List Item Schema (LoSRequestSchema)

Used by:

  • GET /loss-of-supplier/v1/{mpid}/list
FieldRequiredTypeFormat / Constraints
request_idNostring(UUID) or nullUUID when present
mpan_coreYesintegerExactly 13 digits
created_atNostring(datetime) or nullISO 8601 datetime
active_registration_idYesstringMax length 36
pending_registration_idYesstringMax length 36
gaining_supplier_mpidYesstringExactly 4 characters
gaining_supplier_roleYesstringExactly 1 character
supply_start_dateYesstring(datetime)ISO 8601 datetime
intervention_start_dateNostring(datetime) or nullISO 8601 datetime
objection_window_end_dateNostring(datetime) or nullISO 8601 datetime
annulment_window_end_dateNostring(datetime) or nullISO 8601 datetime

Intervention Request/Response Schema (InterventionSchema)

Used by:

  • POST /loss-of-supplier/v1/{mpid}/intervene
FieldRequiredTypeFormat / Constraints
mpan_coreYesintegerExactly 13 digits, numeric
request_idYesstringUUID
intervention_typeYesstring(enum)Supported values: Objection, Annulment, NoObjection
updated_atNostring(datetime) or nullReturned in the response; ignored if supplied on request

Additional validation notes:

  • Missing or malformed request_id values are rejected by UUID validation.
  • Send only documented request fields.