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.
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. Note: this is only available in ACC at the moment; it is not yet in production.
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'{ "totalElements": 0, "totalPages": 0, "pageable": { "paged": true, "pageSize": 0, "pageNumber": 0, "offset": 0, "sort": { … }, "unpaged": true }, "size": 0, "content": [ {} ], "number": 0, "sort": { "sorted": true, "empty": true, "unsorted": true }, "numberOfElements": 0, "first": true, "last": true, "empty": true }