Skip to main content

Reports Schema Notes

This API does not take a request body and returns ReportMessageSchema items.

With page and page_size, the items are returned in a pagination envelope. Empty pages return 200 OK with data: [].

Request Parameters​

FieldLocationRequiredTypeFormat / ConstraintsNotes
X-API-KEYHeaderYesstringNot specified in schemaRequired for supplier authorization.
mpidPathYesstringNot specifiedSupplier MPID.
received_startQueryNostring(datetime)ISO 8601 datetimeInclusive lower bound on message created.
received_endQueryNostring(datetime)ISO 8601 datetimeInclusive upper bound on message created.
message_typeQueryNostringExact matchDIP interface ID, for example REP-003A.
pageQueryNointegerMinimum 1One-based page; supply together with page_size.
page_sizeQueryNointeger1–100Supply together with page.
sort_directionQueryNostringasc or desc, default descWhitespace stripped and case normalized; orders by message created, then ID.

Additional validation:

  • If both received_start and received_end are present, received_start must be before or equal to received_end.
  • Supplying only one pagination parameter or invalid sorting returns 400; out-of-range pagination values return 422.

Paginated Response Schema (ReportMessagesPaginatedResponseSchema)​

FieldRequiredTypeFormat / ConstraintsNotes
dataYesarrayReportMessageSchema itemsMay be empty.
pagination.pageYesintegerMinimum 1Requested one-based page.
pagination.page_sizeYesinteger1–100Requested page size.
pagination.total_countYesintegerNot specifiedMatching reports before pagination.

Response Schema (ReportMessageSchema)​

FieldRequiredTypeFormat / ConstraintsNotes
idYesstringUUIDMarket system message ID.
inbound_outboundYesstring(enum)Direction valueTypically inbound or outbound.
statusYesstring(enum)Message status valueMessage processing state.
createdNostring(datetime) or nullISO 8601 datetimeMessage creation timestamp.
updatedNostring(datetime) or nullISO 8601 datetimeLast update timestamp.
interface_idNostring or nullNot specifiedReport interface identifier, for example REP-003A.
schema_versionNostring or nullNot specifiedMessage schema version.
event_codeNostring or nullNot specifiedDIP event code, for example AggregatedBMUnitAllocatedDemandVolumes.
sender_dip_idNostring or nullNot specifiedSender DIP ID.
sender_role_idNostring or nullNot specifiedSender role code.
decoded_messageNoobject or nullFree-form JSON objectDecoded report payload.