Skip to content

List the trades of the participants registered to your BRP

Request

Note: For BRPs (PV-partijen) only.

Returns a Spring Page JSON with trade records under the 'content' field, filtered and ordered by the timestamp you select with dateFilter.

The BRP Participant is automatically derived from your session. Providing one is optional — if you do, it must be your own BRP identifier. Details of any counterparty registered to another BRP are blanked.

How to use: provide a time window using epoch-millis for dateFrom/dateTo. Choose which timestamp the window applies to with dateFilter: TRANSACTION_DATE (the default, when the trade was executed) or DELIVERY_DATE (the start of the delivery period); the same field determines the ordering. Paginate with page (0-based) and size. Set the ordering direction with sortDirection, which defaults to ASC.

Query
dateFilterstring

Selects which timestamp the dateFrom/dateTo window applies to, and which field the results are ordered by. TRANSACTION_DATE is when the trade was executed and DELIVERY_DATE the start of its delivery period.

Default:"TRANSACTION_DATE"
Enum:"TRANSACTION_DATE""DELIVERY_DATE"
dateFrominteger, (int64)required

Start of the window, inclusive, as epoch milliseconds. Applies to the field named by dateFilter. May not be more than two years before the start of the current day.

dateTointeger, (int64)required

End of the window, inclusive, as epoch milliseconds. Applies to the field named by dateFilter. The window may not exceed the maximum range configured for the service. Certain values (I.e. ORDER_CREATION_DATE/TRANSACTION_DATE) may not be in the future

sortDirectionstring

Direction the results are ordered in. The field ordered on is the one named by dateFilter.

Default:"ASC"
Enum:"ASC""DESC"
pageinteger, >= 0

Zero-based page index (0..N)

Default:0
sizeinteger, >= 1

The size of the page to be returned

Default:20
sortArray of strings

Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

brpParticipantIdstring

Derived from your session when omitted; when supplied it must be your own BRP identifier.

participantFilterArray of strings

Restricts the result to the given participants. Provide a comma separated list of participant Identifiers. Only participants registered to your own BRP may be named. Omitting this parameter returns the trades of every participant registered to your BRP.

Example:participantFilter=17742e97-1291-4ebe-9645-744add2087bf,e57f8a23-b80b-48b7-a93f-dcfb9fb38e3e
curl -i -X GET \
  'https://acc-trading.etpa.nl/public-api/4.0/electricity/reporting/brp-participant-trades?dateFilter=TRANSACTION_DATE&dateFrom=0&dateTo=0&sortDirection=ASC&page=0&size=20&sort=string&brpParticipantId=string&participantFilter=17742e97-1291-4ebe-9645-744add2087bf%2Ce57f8a23-b80b-48b7-a93f-dcfb9fb38e3e'

Responses

Success. Paginated list of trades. Each element of 'content' is either an Intraday/Ex-post trade (RegularTradeDto), a Gopacs trade (GopacsTradeDto) or an XBID trade (XbidTradeDto).

Bodyapplication/json
contentArray of any
pageableobject(PageableInfo)

Pagination request metadata that produced this page.

sortobject(SortInfo)

Sorting information for the page.

totalElementsinteger, (int64)

Total number of trades across all pages.

totalPagesinteger, (int32)

Total number of pages available.

sizeinteger, (int32)

Page size.

numberinteger, (int32)

Zero-based index of this page.

numberOfElementsinteger, (int32)

Number of elements on this page.

firstboolean

Whether this is the first page.

lastboolean

Whether this is the last page.

emptyboolean

Whether this page has no elements.

Response
{ "content": [ { … } ], "pageable": { "pageNumber": 0, "pageSize": 0, "offset": 0, "sort": { … }, "paged": true, "unpaged": true }, "sort": { "empty": true, "sorted": true, "unsorted": true }, "totalElements": 0, "totalPages": 0, "size": 0, "number": 0, "numberOfElements": 0, "first": true, "last": true, "empty": true }