Returns a Spring Page JSON with trade records under the 'content' field.
How to use: at least one filter must be supplied. Provide a date window (dateFrom/dateTo in epoch-millis) and/or an orderId. 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). dateFilter also selects the field the results are ordered by, so changing it changes the paging order. When orderId is supplied, the trades belonging to that order are returned; if a date window is also supplied the result is additionally constrained to that window. Filter additionally with productFilter and optional participantId. Paginate with page/size. Requests exceeding the configured maximum date range are rejected.
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/{product}/trades?participantId=string&dateFilter=TRANSACTION_DATE&dateFrom=0&dateTo=0&orderId=string&sortDirection=ASC&page=0&size=20&sort=string'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).
- RegularTradeDto
- GopacsTradeDto
- XbidTradeDto
{ "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 }