Skip to content

Get Current Order Status by orderId

Request

Get current XBID order status with filtering by orderId that creating on POST/PUT order requests.

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

Responses

Order status entry

Bodyapplication/json
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 }