Skip to content

Get Orders

Request

Get orders filtered on the selected timeblock(s), on participantId, on own orders or not with the my-parameter.

Security
api-key
Query
myboolean

Filter on own orders or others' orders.

participantIdany

Filter on participantId. This is only useful for brokers.

timeblocksstring

Filter on timeblocks.

Enum:"INTRADAY""EXPOST""GOPACS"
GET
/public-api/2.0/electricity/orders
curl -i -X GET \
  'https://acc-trading.etpa.nl/public-api/2.0/electricity/orders?my=true&participantId=%7BparticipantId%7D&timeblocks=INTRADAY' \
  -H 'api_key: YOUR_API_KEY_HERE'

Responses

OK

Bodyapplication/json
Array [
idstring
orderTypestring
Enum:"BUY""SELL""DIRECT"
participantIdstring
individualIdstring
productTypestring
Enum:"ELECTRICITY""GAS"
typestring
quantitynumber
originalQuantitynumber
createdinteger, (int64)
Example:1517406300000
priorityinteger, (int64)
Example:1517406300000
startinteger, (int64)
Example:1517406300000
endinteger, (int64)
Example:1517406300000
timeblockstring
Enum:"BASELOAD""PEAK""OFFPEAK""INTRADAY""EXPOST""GOPACS"
pricenumber
eanstring
customExpirationTimeinteger, (int64)
Example:1517406300000
metadataobject
durationnumber
allowedToBeUsedForIdconsboolean
totalPricenumber
]
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": {}, "duration": 0, "allowedToBeUsedForIdcons": true, "totalPrice": 0 } ]