# Get orders and trades report Endpoint: GET /public-api/1.0/xbid/reporting/orders-trades Version: 1.0 Security: api-key ## Query parameters: - `participantId` (string) Filter xbid orders and trades by participantId. This is only useful for brokers. - `orderId` (string) Filter on orderId. - `tradeId` (string) Filter on tradeId. - `start` (integer) Fetch orders and trades with the filter field since Unix timestamp in milliseconds. - `end` (integer) Fetch orders and trades with the filter field until Unix timestamp in milliseconds. - `filter` (string) switch the field the start and end filter searches on Enum: "CREATION", "TRANSACTION" - `pageable` (object, required) Example: {"page":0,"size":1} ## Response 200 fields (application/json): - `content` (array) List of content - `content.reportId` (string) Report Id - `content.participantId` (string) Participant Id - `content.participantName` (string) Participant Name - `content.participantExternalId` (string) Participant External Id - `content.participantIdType` (string) Participant Id Type - `content.traderCompanyName` (string) Trader Company Name - `content.traderUsername` (string) Trader Username - `content.counterpartId` (string) Counterpart Id - `content.counterpartName` (string) Counterpart Name - `content.counterpartExternalId` (string) Counterpart External Id - `content.counterpartIdType` (string) Counterpart Id Type - `content.reportingId` (string) Reporting Id - `content.reportingIdType` (string) Reporting Id Type - `content.buySell` (string) Buy/Sell Indicator - `content.initiatorAggressor` (string) Initiator/Aggressor Indicator - `content.productType` (string) Product Type - `content.productName` (string) Product Name - `content.reportReason` (string) Report Reason - `content.orderId` (string) Order Id - `content.orderCreation` (string) Order Creation Time - `content.tradingType` (string) Trading Type - `content.customExpirationTime` (string) Custom Expiration Time - `content.xbidTradeId` (integer) XBID Trade Id - `content.tradeId` (string) Trade Id - `content.deliveryStartTime` (string) Delivery Start Time - `content.deliveryEndTime` (string) Delivery End Time - `content.orderDuration` (integer) Order Duration - `content.orderbookDuration` (integer) Orderbook Duration - `content.transactionDate` (string) Transaction Date - `content.unitPrice` (number) Unit Price - `content.orderCapacity` (integer) Order Capacity - `content.totalQuantity` (integer) Total Quantity - `content.totalPrice` (number) Total Price - `content.metadata` (object) Metadata - `content.deliveryAreaBuy` (string) Delivery Area Buy Enum: "NL - TTN", "DE - 50HzT", "DE - AMP", "DE - TNG", "DE - TTG" - `content.deliveryAreaSell` (string) Delivery Area Sell Enum: "NL - TTN", "DE - 50HzT", "DE - AMP", "DE - TNG", "DE - TTG" - `content.orderExecution` (string) Order Execution - `pageable` (object) Pagination details - `pageable.page` (integer) Page - `pageable.size` (integer) Size Example: 1 - `pageable.sort` (object) Sort details - `pageable.sort.empty` (boolean) Indicates if the sort order is empty Example: true - `pageable.sort.sorted` (boolean) Indicates if the sort order is sorted - `pageable.sort.unsorted` (boolean) Indicates if the sort order is unsorted Example: true - `pageable.offset` (integer) Offset - `pageable.paged` (boolean) Indicates if pagination is enabled Example: true - `pageable.unpaged` (boolean) Indicates if pagination is disabled - `last` (boolean) Indicates if this is the last page Example: true - `totalElements` (integer) Total number of elements - `totalPages` (integer) Total number of pages - `first` (boolean) Indicates if this is the first page Example: true - `size` (integer) Size of the page Example: 1 - `number` (integer) Page number - `sort` (object) Sorting details - `numberOfElements` (integer) Number of elements in the page - `empty` (boolean) Indicates if the content is empty Example: true ## Response 400 fields (*/*): - `errors` (array) ## Response 412 fields (*/*): - `errors` (array) ## Response 403 fields