Skip to content

Get Order

Request

Get order by id.

Security
api-key
Path
idstringrequired
GET
/public-api/2.0/electricity/orders/{id}
curl -i -X GET \
  'https://acc-trading.etpa.nl/public-api/2.0/electricity/orders/{id}' \
  -H 'api_key: YOUR_API_KEY_HERE'

Responses

OK

Bodyapplication/json
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": { "property1": "string", "property2": "string" }, "duration": 0, "allowedToBeUsedForIdcons": true, "totalPrice": 0 }