https://b-api.longbridge.xyz/v1/datasets/account_stock_holding_changesThis Dataset query is read-only. Use GET by default. If the encoded query parameters are too large, send the same parameters as a JSON body with POST to the same path.
Authorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Query parameters
Filters. Combines business filters. Omit a filter field to disable that filter.
Child attributes
Client. Filters results by Client.
Client List. Filters results by Client List.
Stock Code. Filters results by Stock Code.
Account Type. Filters results by Account Type.
Allowed values: SETTLEMENT, BUSINESS (Business), EXTERNAL, INTERNAL
SETTLEMENTBUSINESSEXTERNALINTERNAL
Updated At. Filters results by Updated At.
Child attributes
Greater Than or Equal. Inclusive lower bound of the filter range.
Less Than or Equal. Inclusive upper bound of the filter range.
Done At. Filters results by Done At.
Child attributes
Greater Than or Equal. Inclusive lower bound of the filter range.
Less Than or Equal. Inclusive upper bound of the filter range.
Biz Code. Filters results by Biz Code.
Values are dynamic. Call GET /v1/datasets/refs/biz_code_to_name to retrieve the current data dictionary, and use the returned entry's key as this parameter's value.
Biz Code Name. Filters results by Biz Code Name.
Page number to retrieve, starting from 1.
Page Size. Number of records to return per page.
Responses
HTTP 200On success, returns paginated Stock Account Details records together with pagination metadata such as the page number, page size, and total record count.codemessagedatadataobjectdata structureList. Returned value: List of list.
Child attributes
ID. Returned value: Unique identifier of the current record.
ID (raw value). Raw value of id. The id field contains the display value resolved through a dictionary or related record; this field contains the underlying code or ID.
Done At. Returned value: Done At. The date or time format follows the value returned by the API.
Member ID. Returned value: Member ID.
Name. Returned value: Name.
A/C No. Returned value: A/C No.
Account Type. Returned value: Account Type.
Biz Code. Returned value: Biz Code.
Biz Code (raw value). Raw value of biz_code. The biz_code field contains the display value resolved through a dictionary or related record; this field contains the underlying code or ID.
Stock Code. Returned value: Stock Code.
Statement Transaction No. Returned value: Statement Transaction No.
Direction. Returned value: Direction.
Direction (raw value). Raw value of report_direction. The report_direction field contains the display value resolved through a dictionary or related record; this field contains the underlying code or ID.
Qty. Returned value: Qty.
Outstanding Quantity. Returned value: Outstanding Quantity.
Settled Quantity. Returned value: Settled Quantity.
Total Quantity. Returned value: Total Quantity.
Updated At. Returned value: Updated At. The date or time format follows the value returned by the API.
Remark. Returned value: Remark.
Total. 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