GET /reports/v1/{mpid}
Returns decoded REP-* market system messages for a supplier MPID.
Request
Method and path:
GET /reports/v1/{mpid}?received_start=2026-03-20T00:00:00+00:00&received_end=2026-03-20T23:59:59+00:00
Headers:
X-API-KEY(required): string, API key used for tenant authorization.
Path parameters:
mpid(required): string supplier MPID.
Query parameters:
received_start(optional): ISO 8601 datetime. Filters messages created at or after this timestamp.received_end(optional): ISO 8601 datetime. Filters messages created at or before this timestamp.message_type(optional): string, case-sensitive exactinterface_idfilter, for exampleREP-003A. An empty value adds no restriction; no enum validation.page(optional): integer >= 1, one-based page number. Must be supplied together withpage_size.page_size(optional): integer from 1 to 100. Must be supplied together withpage.sort_direction(optional):ascordesc, defaultdesc. Surrounding whitespace is stripped and case is normalized. Orders by parent messagecreatedthen ID, in the same direction.
If both datetime filters are supplied, received_start must be less than or equal to received_end.
Request body:
- None.
Supported inbound reports are REP-002, REP-003, REP-003A, REP-004, REP-006, REP-007, REP-009, REP-900, and REP-901.
Response
Paginated response
Success:
200 OKwhen bothpageandpage_sizeare supplied.- Body type:
ReportMessagesPaginatedResponseSchema
{
"data": [],
"pagination": {
"page": 2,
"page_size": 25,
"total_count": 12
}
}
Notes:
datacontains report objects.total_countcounts matching reports before pagination.- Empty and out-of-range pages return
200 OKwithdata: []and the matching total.
Unpaginated response
Without pagination parameters, the response is an array.
Success:
200 OK- Body type: array of
ReportMessageSchema
[
{
"id": "31e29fe5-c4aa-4140-851e-013386ad7d82",
"inbound_outbound": "inbound",
"status": "success",
"created": "2026-03-20T06:30:00+00:00",
"updated": "2026-03-20T06:30:02+00:00",
"interface_id": "REP-003A",
"schema_version": null,
"event_code": "AggregatedBMUnitAllocatedDemandVolumes",
"sender_dip_id": "DIP-DS-001",
"sender_role_id": "D",
"decoded_message": {}
}
]
No content case:
204 No Contentwhen no report messages match and pagination is not requested.
Bad request case:
400 Bad Requestwhenreceived_startis afterreceived_end, only one pagination parameter is supplied, or sorting is notasc/descafter normalization.422 Unprocessable Entityfor invalid datetimes,page < 1, orpage_sizeoutside 1–100.
Field notes: