https://b-api.longbridge.xyz/v1/datasets/atm_bank_sub_accountsThis 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.
Sub Account No.. Filters results by Sub Account No..
Bank Name. Filters results by Bank Name.
Values are dynamic. Call GET /v1/datasets/refs/company_bank_account_config to retrieve the current data dictionary, and use the returned entry's key as this parameter's value.
Activation Status. Filters results by Activation Status.
Allowed values:
0- Opening1- Opened2- Deleting3- Deleted4- Closed
01234
Open Time. Filters results by Open Time.
Child attributes
Greater Than or Equal. Inclusive lower bound of the filter range.
Less Than or Equal. Inclusive upper bound of the filter range.
Page. Page number to retrieve, starting from 1.
Page Size. Number of records to return per page.
Order By. Array of sorting rules. Each item defines a sort field and direction.
Responses
HTTP 200On success, returns paginated Sub Account 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
Sub Account Id. Returned value: Unique identifier of the current record.
Company Bank Account ID. Returned value: Company Bank Account ID.
Company Bank Account ID (raw value). Raw value of lb_bank_account_id. The lb_bank_account_id field contains the display value resolved through a dictionary or related record; this field contains the underlying code or ID.
Bank Account. Returned value: Bank Account.
Bank Account Name. Returned value: Bank Account Name.
Client ID. Returned value: Client ID.
Account Channel. Returned value: Account Channel.
A/C No.. Returned value: A/C No..
Document No.. Returned value: Document No..
Activation Method. Returned value: Activation Method.
Activation Method (raw value). Raw value of open_mode. The open_mode field contains the display value resolved through a dictionary or related record; this field contains the underlying code or ID.
Delete Method. Returned value: Delete Method.
Delete Method (raw value). Raw value of close_mode. The close_mode field contains the display value resolved through a dictionary or related record; this field contains the underlying code or ID.
Status. Returned value: Status.
Status (raw value). Raw value of state. The state field contains the display value resolved through a dictionary or related record; this field contains the underlying code or ID.
Remark. Returned value: Remark.
SubAccount Currency. Returned value: SubAccount Currency.
Sub Account Name. Returned value: Sub Account Name.
Sub Account No.. Returned value: Sub Account No..
Open No. Returned value: Open No.
Account Cancelation Serial No.. Returned value: Account Cancelation Serial No..
Open Time. Returned value: Open Time. The date or time format follows the value returned by the API.
Account Cancelation Time. Returned value: Account Cancelation Time. The date or time format follows the value returned by the API.
Update Time. Returned value: Update Time. The date or time format follows the value returned by the API.
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