https://b-api.lbkrs.com/v1/datasets/clearing_ods_order_detailsAuthorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Permission
The Broker ACCESS_TOKEN must be granted the permission above, or the call will be rejected.
Request body application/json
Combines business filters. Omit a filter field to disable that filter.
Child attributes
Filters results by Ledger Date.
Filters results by Trade Date.
Filters results by Client.
Pass the internal numeric ID of the customer's securities account (aaid), not the securities account number account_no (such as H00000000) or the customer ID member_id. One customer can have multiple aaid values.
Filters results by Counter ID. Format is {type}/{market}/{code}, for example, stock ST/HK/700 or ST/US/AAPL, and option OP/US/AAPL270319C320000.
Filters results by OMS Order ID.
Filters results by Order Channel.
Allowed values: 0 APP, 1 BO, 2 Fix, 3 PRO, 4 LONGPORT, 5 OTHER, 6 WTT, 7 API, 8 Other APP, 9 WEB
0- APP
1- BO
2- Fix
3- PRO
4- LONGPORT
5- OTHER
6- WTT
7- API
8- Other APP
9- WEB
Filters results by Order Channel.
Allowed values: 0 APP, 1 BO, 2 Fix, 3 PRO, 4 LONGPORT, 5 OTHER, 6 WTT, 7 API, 8 Other APP, 9 WEB
0- APP
1- BO
2- Fix
3- PRO
4- LONGPORT
5- OTHER
6- WTT
7- API
8- Other APP
9- WEB
Filters results by Billed.
Allowed values: ! YES, = NO
!- YES
=- NO
Page number to retrieve, starting from 1.
Number of records to return per page.
Responses
HTTP 200On success, returns paginated Clear - order detail records together with pagination metadata such as the page number, page size, and total record count.codemessagedatadataobjectdata structureReturned value: List of list.
Child attributes
Record ID. Returned value: Record ID (row primary key); write operations on this record take it as their id.
Returned value: Ledger Date. The date or time format follows the value returned by the API.
Returned value: Trade Date. The date or time format follows the value returned by the API.
Returned value: A/C No..
Returned value: Biz Type.
Raw value of biz_type. The biz_type field contains the display value resolved through a dictionary or related record; this field contains the underlying code or ID.
Returned value: Settlement Channel.
Raw value of settlement_channel. The settlement_channel field contains the display value resolved through a dictionary or related record; this field contains the underlying code or ID.
Returned value: Sub Account/Broker No..
Returned value: Market.
Returned value: Counter ID.
Returned value: OMS Order ID.
Returned value: Trade Direction.
Raw value of direction. The direction field contains the display value resolved through a dictionary or related record; this field contains the underlying code or ID.
Returned value: Original Order Channel.
Raw value of op_entrust_way. The op_entrust_way field contains the display value resolved through a dictionary or related record; this field contains the underlying code or ID.
Returned value: Order Channel.
Raw value of manual_op_entrust_way. The manual_op_entrust_way field contains the display value resolved through a dictionary or related record; this field contains the underlying code or ID.
Returned value: Trade Quantity.
Returned value: Trade Amount.
Returned value: Currency.
Returned value: Operator.
Raw value of maker. The maker field contains the display value resolved through a dictionary or related record; this field contains the underlying code or ID.
Returned value: Updated At. The date or time format follows the value returned by the API.
Returned value: Billed.
Raw value of billed. The billed field contains the display value resolved through a dictionary or related record; this field contains the underlying code or ID.
Returned value: Total number of matching records, used for pagination.
HTTP 400Bad request. Check the business error code in code and the error details in message.codemessagedatadataobjectdata structureNo nested fields
HTTP 401The user is not authenticated, or the login session has expired.codemessagedatadataobjectdata structureNo nested fields
HTTP 403The current account is not authorized to use this feature. Grant the required permission to the account in User Permission.codemessagedatadataobjectdata structureNo nested fields
HTTP 408The request timed out. Check the business error code in code and the error details in message.codemessagedatadataobjectdata structureNo nested fields