Skip to content

Get Current Order Status by basket id

Request

Get current order status by basketId that were created on POST/PUT order requests.

Security
api-key
Path
basketIdstringrequired
GET
/public-api/1.0/electricity/orders/status/basket/{basketId}/current
curl -i -X GET \
  'https://acc-trading.etpa.nl/public-api/1.0/electricity/orders/status/basket/{basketId}/current' \
  -H 'api_key: YOUR_API_KEY_HERE'

Responses

Order status entry

Bodyapplication/json
orderIdstringrequired

The orderId is the created by Order api as a response from put/post order request.

basketIdobject(BasketId)

The id of the Basket order.

individualIdstringrequired

Identifier of the individual that created the order.

participantIdstringrequired

The participant identifier of the participant to which the order belongs.

currentStatusobject(OrderStatusItem)required

The last situation of order.

historyArray of objects(OrderStatusItem)required

The whole processes of order.

Response
{ "orderId": "string", "basketId": { "identifier": "string" }, "individualId": "string", "participantId": "string", "currentStatus": { "status": "CREATED / UPDATED / COMPLETED / CANCELLED / FAILED", "reason": "string", "createdTime": 1576663249398 }, "history": [ {} ] }