Returns a single trade record as JSON.
How to use: provide the product type and a trade id of the trade you want to return.
GET
curl -i -X GET \
'https://acc-trading.etpa.nl/public-api/4.0/electricity/reporting/{product}/trades/{tradeId}'Success. JSON trade record: a regular trade (RegularTradeDto, for Intraday/Ex-post), a Gopacs trade (GopacsTradeDto) or an XBID trade (XbidTradeDto).
One of:
Trade representation for the regular (non-XBID) markets. Returned for Gopacs, Intraday and Ex-post trades. Extends the base trade with the EANs of the underlying buy and sell orders. All base trade fields also apply. Fields that are null are omitted from the response.
Response
- RegularTradeDto
- GopacsTradeDto
- XbidTradeDto
{ "id": "string", "product": "XBID", "buyerId": "string", "buyerName": "string", "buyerIndividualId": "string", "buyerIndividualName": "string", "sellerId": "string", "sellerName": "string", "sellerIndividualId": "string", "sellerIndividualName": "string", "start": 0, "end": 0, "transactionDate": 0, "price": 0, "capacity": 0, "mwhTraded": 0, "totalPrice": 0, "unitPrice": 0, "buyOrderMetadata": { "property1": "string", "property2": "string" }, "sellOrderMetadata": { "property1": "string", "property2": "string" }, "reverted": true, "tradeId": "string", "buyerBrpParticipantId": "string", "sellerBrpParticipantId": "string", "buyOrderEan": "string", "sellOrderEan": "string" }