Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 2.57 KB

order-status-update.md

File metadata and controls

46 lines (34 loc) · 2.57 KB

Order Status Update

BB API: POST /integration-api/v1/trade-orders/{orderId}/status

Request Example

{
  "status": "Rejected",
  "reason": "Insufficient funds in the investment account"
}

DW Event:

Request Example

...
"status": "REJECTED",
"statusMessage": {
  "errorCode": "O409",
  "message": "Order marked preventQueuing=TRUE, market is not open, rejecting."
},
    ...

API Mapping

BB Field DW Field Description
status###### REQUIRED
    | `status`                | [**target-order-status**](https://developer.backbase.com/apis/specs/portfolio/portfolio-trading-integration-inbound-api/1.0.7/models/target-order-status/) |

| reason | statusMessage.message | StringDescription of the rejection, cancellation or the failure reason | | confirmedValue | totalOrderAmount | money | | confirmedQuantity | cumulativeQuantity | BigDecimalConfirmed quantity of instruments sold or bought in the order | | confirmedCommissionFees | fees | money | | confirmedFXCurrencyCommission | 0 | money | | confirmedInstrumentPrice | averagePrice | money | | fulfillmentDateTime | lastExecuted | DateTimeThe time in UTC when the trading platform made partial fulfillment. Only for limit order. |