The following things are changed from version 1:
- You will get an error code and an error message when the order is incorrect.
- You will get an
orderIdback from the post request to check the status of your order.
NOTE:
"Intraday"orders will be rejected from this endpoints when"XBID"functionality is enabled. Creating"Intraday"orders with this endpoint should be only done when XBID platform is down.
GET
curl -i -X GET \
'https://acc-trading.etpa.nl/public-api/2.0/electricity/orders/{id}' \
-H 'api_key: YOUR_API_KEY_HERE'OK
Response
{ "id": "string", "orderType": "BUY", "participantId": "string", "individualId": "string", "productType": "ELECTRICITY", "type": "string", "quantity": 0, "originalQuantity": 0, "created": 1517406300000, "priority": 1517406300000, "start": 1517406300000, "end": 1517406300000, "timeblock": "BASELOAD", "price": 0, "ean": "string", "customExpirationTime": 1517406300000, "metadata": { "property1": "string", "property2": "string" }, "duration": 0, "allowedToBeUsedForIdcons": true, "totalPrice": 0 }