Skip to content

Get Current Order Status by basket id

Request

Get current XBID order status with filtering by basket id that creating on post/put order requests.

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

Responses

List of order status entries

Bodyapplication/json
Array [
statusstringrequired

The status of order status item

Enum:"CREATED""UPDATED""COMPLETED""CANCELLED""FAILED""XBIDRECEIVED""XBIDACCEPTED""HIBERNATE""ACTIVE"
Example:"CREATED / UPDATED / COMPLETED / CANCELLED / FAILED / XBIDRECEIVED / XBIDACCEPTED"
reasonstring

The reason of the UPDATED / FAILED / CANCELLED status.

createdTimeinteger, (int64)required

The time of when this order status item has been processed.

Example:1576663249398
]
Response
[ { "status": "CREATED / UPDATED / COMPLETED / CANCELLED / FAILED / XBIDRECEIVED / XBIDACCEPTED", "reason": "string", "createdTime": 1576663249398 } ]